From 2db2dfdc7c26159babc5aac9b749c91f3fbeae43 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 3 Oct 2007 15:05:47 +0200 Subject: [PATCH] bugfix: snap windows to statusbar, not screen edges --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index ca61eefd..53d08e74 100644 --- a/event.c +++ b/event.c @@ -60,7 +60,7 @@ movemouse(Client * c, awesome_config *awesomeconf) XEvent ev; 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; ocy = ny = c->y;