lock keyboard on wayland

This commit is contained in:
deltragon 2024-01-24 18:56:16 +01:00
parent 45bd96f6e1
commit 11af2113df
No known key found for this signature in database
GPG Key ID: 41F552553C6D94B5
1 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,10 @@ class BreakScreen:
window.fullscreen_on_monitor(monitor)
window.present()
if self.context['is_wayland']:
# this may or may not be granted by the window system
window.get_surface().inhibit_system_shortcuts(None)
i = i + 1
def __update_count_down(self, count):