Skip to content

Commit

Permalink
fix: #1761 update to avoid switch when last window minimized.
Browse files Browse the repository at this point in the history
  • Loading branch information
woodpenker authored and gsemet committed May 14, 2021
1 parent 30ca397 commit 651140c
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 651140c

Please sign in to comment.