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.
This commit is contained in:
Brian Lamb 2017-07-23 12:05:12 -06:00
parent 3d20749685
commit c7294a9137
1 changed files with 1 additions and 1 deletions

View File

@ -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):