aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-25 08:21:51 +0200
committerarg@mmvi <unknown>2006-09-25 08:21:51 +0200
commit6b25d06d7d159bf89d740847fedc876ab0137b6b (patch)
tree49f46f104acb96c49eda4ae0f30415011ee57bf6 /event.c
parentcff951c65086950eeef5723b65dc06cbe7cdfa19 (diff)
downloaddwm-6b25d06d7d159bf89d740847fedc876ab0137b6b.tar.gz
applied Jukkas patch
Diffstat (limited to 'event.c')
-rw-r--r--event.c8
1 files changed, 4 insertions, 4 deletions
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)) {
remember that computers suck.