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:
parent
3d20749685
commit
c7294a9137
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue