[Xfce4-commits] [xfce/xfwm4] 03/03: Fix flickering when cycling
noreply at xfce.org
noreply at xfce.org
Mon Jan 19 09:17:33 CET 2015
This is an automated email from the git hooks/post-receive script.
olivier pushed a commit to branch master
in repository xfce/xfwm4.
commit ca6767c9faebbc5b4fd5036add80eff724cd2bc3
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Mon Jan 19 09:16:17 2015 +0100
Fix flickering when cycling
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/cycle.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/cycle.c b/src/cycle.c
index 8fba978..e7747c1 100644
--- a/src/cycle.c
+++ b/src/cycle.c
@@ -376,6 +376,7 @@ clientCycleEventFilter (XEvent * xevent, gpointer data)
}
break;
case ButtonRelease:
+ return EVENT_FILTER_STOP;
break;
case EnterNotify:
case LeaveNotify:
@@ -387,6 +388,7 @@ clientCycleEventFilter (XEvent * xevent, gpointer data)
passdata->inside = (xevent->xcrossing.type == EnterNotify);
}
}
+ return EVENT_FILTER_STOP;
break;
default:
status = EVENT_FILTER_CONTINUE;
@@ -493,7 +495,7 @@ clientCycle (Client * c, XKeyEvent * ev)
}
g1 = myScreenGrabKeyboard (screen_info, ev->time);
- g2 = myScreenGrabPointer (screen_info, TRUE, LeaveWindowMask, None, ev->time);
+ g2 = myScreenGrabPointer (screen_info, TRUE, NoEventMask, None, ev->time);
/* Grabbing the pointer may fail e.g. if the user is doing a drag'n drop */
if (!g1)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list