LockWindow: grab devices with owner_events=True
This commit is contained in:
parent
86ab62a5e6
commit
c696d8eb28
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue