projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31fac36
)
dispatch presses and releases during a move/resize
author
Dana Jansens
<danakj@orodu.net>
Fri, 18 Apr 2003 22:27:24 +0000
(22:27 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 18 Apr 2003 22:27:24 +0000
(22:27 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index a5bb295a31a2fb5a7bccc266289e2a951ee66ff3..ed214af76137f49271275b0192ea4451390624c5 100644
(file)
--- 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 */