summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-30 07:24:54 +0000
committerDana Jansens <danakj@orodu.net>2002-04-30 07:24:54 +0000
commit5705ea361305e03bd557896b449f0672005f9159 (patch)
tree6e8b16f8cc18079a9e2232b31a7151962e7b3ba9 /src/openbox.cc
parentb88c4292e564d4174a027d1ba4adfa4416f06665 (diff)
bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late
Diffstat (limited to 'src/openbox.cc')
-rw-r--r--src/openbox.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index 77c5baca..c6880fc4 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -283,11 +283,10 @@ Openbox::~Openbox() {
void Openbox::process_event(XEvent *e) {
- if ((masked == e->xany.window) && masked_window &&
+ if ((masked == e->xany.window && masked_window) &&
(e->type == MotionNotify)) {
last_time = e->xmotion.time;
masked_window->motionNotifyEvent(&e->xmotion);
-
return;
}