summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LockWindow.py2
1 files changed, 1 insertions, 1 deletions
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