diff options
author | arg@mmvi <unknown> | 2006-09-25 08:21:51 +0200 |
---|---|---|
committer | arg@mmvi <unknown> | 2006-09-25 08:21:51 +0200 |
commit | 6b25d06d7d159bf89d740847fedc876ab0137b6b (patch) | |
tree | 49f46f104acb96c49eda4ae0f30415011ee57bf6 /event.c | |
parent | cff951c65086950eeef5723b65dc06cbe7cdfa19 (diff) | |
download | dwm-6b25d06d7d159bf89d740847fedc876ab0137b6b.tar dwm-6b25d06d7d159bf89d740847fedc876ab0137b6b.tar.gz dwm-6b25d06d7d159bf89d740847fedc876ab0137b6b.tar.bz2 |
applied Jukkas patch
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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)) { |