From 5705ea361305e03bd557896b449f0672005f9159 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 30 Apr 2002 07:24:54 +0000 Subject: 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 --- src/openbox.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/openbox.cc') 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; } -- cgit v1.2.3