Resize break screen before and after present

This commit is contained in:
Gobinath 2020-05-15 20:15:18 -04:00
parent ab8b59a76f
commit 40dc69883f
1 changed files with 1 additions and 1 deletions

View File

@ -218,11 +218,11 @@ class BreakScreen:
# In Unity, move the window before present
window.move(x, y)
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
window.stick()
window.set_keep_above(True)
window.present()
# In other desktop environments, move the window after present
# if self.context['desktop'] != 'unity':
window.move(x, y)
window.resize(monitor_gemoetry.width, monitor_gemoetry.height)
logging.info("Moved break screen to Display[%d, %d]", x, y)