From c7294a9137553711ffcc8365196f456bb6bd5c56 Mon Sep 17 00:00:00 2001 From: Brian Lamb Date: Sun, 23 Jul 2017 12:05:12 -0600 Subject: [PATCH] Move the break screen window after presenting Some window managers do not honor the location set on a window before presentation. This can cause multi-display setups to show all break screens on the same display. By calling window.move() after presenting the window, more window managers will move the windows to the correct display. --- safeeyes/BreakScreen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safeeyes/BreakScreen.py b/safeeyes/BreakScreen.py index 7b6fe84..9e324ed 100644 --- a/safeeyes/BreakScreen.py +++ b/safeeyes/BreakScreen.py @@ -182,10 +182,10 @@ class BreakScreen: # Fix flickering screen in KDE by setting opacity to 1 window.set_opacity(0.9) - window.move(x, y) window.stick() window.set_keep_above(True) window.present() + window.move(x, y) window.fullscreen() def __update_count_down(self, count):