From 4b03660227f79cfbb20f9e5a335a167e23bb4b6b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 May 2007 23:15:49 +0000 Subject: [PATCH] merge r7196 from trunk --- openbox/event.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbox/event.c b/openbox/event.c index f5da603b..57540bcf 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -823,6 +823,10 @@ static void event_handle_client(ObClient *client, XEvent *e) } break; case MotionNotify: + /* when there is a grab on the pointer, we won't get enter/leave + notifies, but we still get motion events */ + if (grab_on_pointer()) break; + con = frame_context(client, e->xmotion.window, e->xmotion.x, e->xmotion.y); switch (con) { -- 2.34.1