From f6ead48378ca383c4af37a9e2d98e8e3fbadee40 Mon Sep 17 00:00:00 2001 From: mraof Date: Wed, 29 Jun 2016 23:28:03 -0400 Subject: [PATCH] owner_events is now true when grabbing the pointer --- src/api/x11/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index dc7fa62b..8a96ab2f 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -995,7 +995,7 @@ impl Window { Grab => { unsafe { match (self.x.display.xlib.XGrabPointer)( - self.x.display.display, self.x.window, ffi::False, + self.x.display.display, self.x.window, ffi::True, (ffi::ButtonPressMask | ffi::ButtonReleaseMask | ffi::EnterWindowMask | ffi::LeaveWindowMask | ffi::PointerMotionMask | ffi::PointerMotionHintMask | ffi::Button1MotionMask | ffi::Button2MotionMask | ffi::Button3MotionMask |