Fix restarting/crashing Gnome and switching to new workspace in Elementary OS (#393)

This commit is contained in:
Muazam Kamal 2020-11-16 05:11:16 +08:00 committed by GitHub
parent d3bcb9de73
commit 08001f9cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,12 +221,12 @@ class BreakScreen:
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
window.stick()
window.set_keep_above(True)
window.fullscreen()
window.present()
# In other desktop environments, move the window after present
window.move(x, y)
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
logging.info("Moved break screen to Display[%d, %d]", x, y)
window.fullscreen()
def __update_count_down(self, count):
"""