bugfix: snap windows to statusbar, not screen edges
This commit is contained in:
parent
bf2561a5e8
commit
2db2dfdc7c
2
event.c
2
event.c
|
@ -60,7 +60,7 @@ movemouse(Client * c, awesome_config *awesomeconf)
|
||||||
XEvent ev;
|
XEvent ev;
|
||||||
ScreenInfo *si;
|
ScreenInfo *si;
|
||||||
|
|
||||||
si = get_screen_info(c->display, c->screen, NULL);
|
si = get_screen_info(c->display, c->screen, &awesomeconf->statusbar);
|
||||||
|
|
||||||
ocx = nx = c->x;
|
ocx = nx = c->x;
|
||||||
ocy = ny = c->y;
|
ocy = ny = c->y;
|
||||||
|
|
Loading…
Reference in New Issue