summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-02-28 13:46:27 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-02-28 13:46:27 +0100
commitc696d8eb28267058d526e52c05bc54cc357edaef (patch)
tree1fe76ffc4ab62c536e79d39bf04fdc16fe5f9d3d
parent86ab62a5e628c813884ef24cb8a4bc65f3fe5ed5 (diff)
downloadpylock-c696d8eb28267058d526e52c05bc54cc357edaef.tar
pylock-c696d8eb28267058d526e52c05bc54cc357edaef.zip
LockWindow: grab devices with owner_events=True
-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