[Xfce4-commits] [xfce/xfwm4] 02/03: Add PointerMotionHintMask

noreply at xfce.org noreply at xfce.org
Fri Nov 6 18:21:29 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 0dfb55407a830572f03297b3c118fac1f3c5b80d
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Nov 6 09:10:11 2015 +0100

    Add PointerMotionHintMask
    
    To reduce the number of motion notify events, allowing for better event
    compression.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/client.c     |    1 +
 src/moveresize.c |    1 +
 2 files changed, 2 insertions(+)

diff --git a/src/client.c b/src/client.c
index 553140d..2d13f4a 100644
--- a/src/client.c
+++ b/src/client.c
@@ -73,6 +73,7 @@
 #define FRAME_EVENT_MASK \
     SubstructureNotifyMask|\
     SubstructureRedirectMask|\
+    PointerMotionHintMask|\
     PointerMotionMask|\
     ButtonMotionMask|\
     FocusChangeMask|\
diff --git a/src/moveresize.c b/src/moveresize.c
index 411520d..b0f4108 100644
--- a/src/moveresize.c
+++ b/src/moveresize.c
@@ -53,6 +53,7 @@
 #include "xsync.h"
 
 #define MOVERESIZE_EVENT_MASK \
+    PointerMotionHintMask | \
     PointerMotionMask | \
     ButtonMotionMask | \
     ButtonReleaseMask | \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list