From c696d8eb28267058d526e52c05bc54cc357edaef Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 28 Feb 2012 13:46:27 +0100 Subject: LockWindow: grab devices with owner_events=True --- LockWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LockWindow.py b/LockWindow.py index c0751f4..3c85d2a 100644 --- a/LockWindow.py +++ b/LockWindow.py @@ -106,7 +106,7 @@ class LockWindow(Gtk.Window): def _grab_devices(self, w, e): for device in self.deviceManager.list_devices(Gdk.DeviceType.MASTER): - device.grab(self.unlockWindow.get_window(), Gdk.GrabOwnership.APPLICATION, False, Gdk.EventMask.ALL_EVENTS_MASK, None, Gdk.CURRENT_TIME) + device.grab(self.unlockWindow.get_window(), Gdk.GrabOwnership.APPLICATION, True, Gdk.EventMask.ALL_EVENTS_MASK, None, Gdk.CURRENT_TIME) return False -- cgit v1.2.3