aewl

diff event.c @ 487:be4f90c03582

applied Jukkas patch
author arg@mmvi
date Mon, 25 Sep 2006 08:21:51 +0200
parents acb1fc729a8c
children 0d2559f46b9e
line diff
     1.1 --- a/event.c	Fri Sep 22 18:48:35 2006 +0200
     1.2 +++ b/event.c	Mon Sep 25 08:21:51 2006 +0200
     1.3 @@ -170,13 +170,13 @@
     1.4  		if(CLEANMASK(ev->state) != MODKEY)
     1.5  			return;
     1.6  		if(ev->button == Button1 && (arrange == dofloat || c->isfloat)) {
     1.7 -			restack(c);
     1.8 +			restack();
     1.9  			movemouse(c);
    1.10  		}
    1.11  		else if(ev->button == Button2)
    1.12  			zoom(NULL);
    1.13  		else if(ev->button == Button3 && (arrange == dofloat || c->isfloat)) {
    1.14 -			restack(c);
    1.15 +			restack();
    1.16  			resizemouse(c);
    1.17  		}
    1.18  	}
    1.19 @@ -388,7 +388,7 @@
    1.20  };
    1.21  
    1.22  void
    1.23 -grabkeys() {
    1.24 +grabkeys(void) {
    1.25  	static unsigned int len = sizeof(key) / sizeof(key[0]);
    1.26  	unsigned int i;
    1.27  	KeyCode code;
    1.28 @@ -408,7 +408,7 @@
    1.29  }
    1.30  
    1.31  void
    1.32 -procevent() {
    1.33 +procevent(void) {
    1.34  	XEvent ev;
    1.35  
    1.36  	while(XPending(dpy)) {