From afc90f2224986ed73bb60e48596331201451ae33 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Sep 2007 12:28:38 +0200 Subject: [PATCH] fix some bug (typo ?) with event handling in multihead --- event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/event.c b/event.c index fb2a11ff2..17d335994 100644 --- a/event.c +++ b/event.c @@ -183,20 +183,20 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf) if((c = getclient(ev->window))) { - focus(c->display, c->screen, &dc[c->screen], c, ev->same_screen, &awesomeconf[screen]); + focus(c->display, c->screen, &dc[c->screen], c, ev->same_screen, &awesomeconf[c->screen]); if(CLEANMASK(ev->state, c->screen) != awesomeconf[c->screen].modkey) return; if(ev->button == Button1 && (IS_ARRANGE(floating) || c->isfloating)) { restack(e->xany.display, c->screen, &dc[c->screen], &awesomeconf[c->screen]); - movemouse(c, awesomeconf); + movemouse(c, &awesomeconf[c->screen]); } else if(ev->button == Button2) uicb_zoom(e->xany.display, c->screen, &dc[c->screen], &awesomeconf[c->screen], NULL); else if(ev->button == Button3 && (IS_ARRANGE(floating) || c->isfloating) && !c->isfixed) { restack(e->xany.display, c->screen, &dc[c->screen], &awesomeconf[c->screen]); - resizemouse(c, awesomeconf); + resizemouse(c, &awesomeconf[c->screen]); } } else if(!sel)