From a04ce1f4efdd6ab46f9694da848fee1a074646ea Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 10 Oct 2007 18:21:48 +0200 Subject: [PATCH] bugfix: fix wrong cursor in mouseresize --- event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event.c b/event.c index c9c92c141..032d92fc5 100644 --- a/event.c +++ b/event.c @@ -134,7 +134,7 @@ resizemouse(Client * c, awesome_config *awesomeconf) nw = 1; if((nh = ev.xmotion.y - ocy - 2 * c->border + 1) <= 0) nh = 1; - resize(c, c->x, c->y, nw, nh, awesomeconf, True); + resize(c, c->x, c->y, nw, nh, &awesomeconf[c->screen], True); break; } } @@ -216,7 +216,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf) uicb_togglefloating(e->xany.display, &awesomeconf[c->screen], NULL); else restack(e->xany.display, &awesomeconf[c->screen]); - resizemouse(c, &awesomeconf[c->screen]); + resizemouse(c, awesomeconf); } else if(ev->button == Button4) uicb_settrans(e->xany.display, &awesomeconf[c->screen], "+5");