Skip to content

Commit

Permalink
fix: Guake#1761 update to avoid switch when last window minimized.
Browse files Browse the repository at this point in the history
  • Loading branch information
woodpenker committed Sep 2, 2020
1 parent c77c425 commit 4288a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guake/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def set_window_state(self, window_state):
if not window_state & Gdk.WindowState.WITHDRAWN:
if self.is_fullscreen():
self.fullscreen()
elif window_state & Gdk.WindowState.FOCUSED:
elif window_state & Gdk.WindowState.FOCUSED and self.guake.hidden:
self.unfullscreen()

def fullscreen(self):
Expand Down

0 comments on commit 4288a7a

Please sign in to comment.