summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-18 22:27:24 +0000
committerDana Jansens <danakj@orodu.net>2003-04-18 22:27:24 +0000
commit2829849b714a37d2efe4674c7a2a3e4b473edcf9 (patch)
tree780ae5dd4e7e486f71695f14941ca4c0f6cfca79 /openbox
parent31fac363fb8a1c62f38b943a7623f3e4afc7a7cd (diff)
dispatch presses and releases during a move/resize
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index a5bb295a..ed214af7 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -407,7 +407,9 @@ static void event_process(XEvent *e)
e->type == ButtonPress ||
e->type == KeyPress || e->type == KeyRelease) {
moveresize_event(e);
- return; /* no dispatch! */
+
+ if (!(e->type == ButtonPress || e->type == ButtonRelease))
+ return; /* no dispatch! */
}
/* user input (action-bound) events */