mirror of
https://github.com/storytold/winit.git
synced 2026-12-01 18:54:59 +01:00
owner_events is now true when grabbing the pointer
This commit is contained in:
1 parent
7a7eeef083
commit
f6ead48378
1 file changed
+1
-1
@@ -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 |
|
||||
|
||||
Reference in new issue
Block a user