We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41ac8ea + b122b09 commit 494b4d4Copy full SHA for 494b4d4
safeeyes/ui/break_screen.py
@@ -201,9 +201,14 @@ def __show_break_screen(
201
# Fix flickering screen in KDE by setting opacity to 1
202
window.set_opacity(0.9)
203
204
- window.fullscreen_on_monitor(monitor)
205
window.present()
206
+ # Apparently this needs to run after present() (as of GTK 4.20)
207
+ # On Wayland, either work seems to work fine
208
+ # On X11, calling this before present() always fullscreens only on the
209
+ # focused monitor regardless
210
+ window.fullscreen_on_monitor(monitor)
211
+
212
# this ensures that none of the buttons is in focus immediately
213
# otherwise, pressing space presses that button instead of triggering the
214
# shortcut
0 commit comments