Fix restarting/crashing Gnome and switching to new workspace in Elementary OS (#393)
This commit is contained in:
parent
d3bcb9de73
commit
08001f9cab
|
@ -221,12 +221,12 @@ class BreakScreen:
|
||||||
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
|
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
|
||||||
window.stick()
|
window.stick()
|
||||||
window.set_keep_above(True)
|
window.set_keep_above(True)
|
||||||
|
window.fullscreen()
|
||||||
window.present()
|
window.present()
|
||||||
# In other desktop environments, move the window after present
|
# In other desktop environments, move the window after present
|
||||||
window.move(x, y)
|
window.move(x, y)
|
||||||
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
|
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
|
||||||
logging.info("Moved break screen to Display[%d, %d]", x, y)
|
logging.info("Moved break screen to Display[%d, %d]", x, y)
|
||||||
window.fullscreen()
|
|
||||||
|
|
||||||
def __update_count_down(self, count):
|
def __update_count_down(self, count):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue