bugfix: snap windows to statusbar, not screen edges

This commit is contained in:
Julien Danjou 2007-10-03 15:05:47 +02:00
parent bf2561a5e8
commit 2db2dfdc7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;