From 6b25d06d7d159bf89d740847fedc876ab0137b6b Mon Sep 17 00:00:00 2001 From: arg@mmvi Date: Mon, 25 Sep 2006 08:21:51 +0200 Subject: applied Jukkas patch --- event.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 9f120d7..83301bc 100644 --- a/event.c +++ b/event.c @@ -170,13 +170,13 @@ buttonpress(XEvent *e) { if(CLEANMASK(ev->state) != MODKEY) return; if(ev->button == Button1 && (arrange == dofloat || c->isfloat)) { - restack(c); + restack(); movemouse(c); } else if(ev->button == Button2) zoom(NULL); else if(ev->button == Button3 && (arrange == dofloat || c->isfloat)) { - restack(c); + restack(); resizemouse(c); } } @@ -388,7 +388,7 @@ void (*handler[LASTEvent]) (XEvent *) = { }; void -grabkeys() { +grabkeys(void) { static unsigned int len = sizeof(key) / sizeof(key[0]); unsigned int i; KeyCode code; @@ -408,7 +408,7 @@ grabkeys() { } void -procevent() { +procevent(void) { XEvent ev; while(XPending(dpy)) { -- cgit v1.2.3