Skip to content

Commit

Permalink
Guake did not restored to its original size after fullscreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvestre Ledru committed Jul 25, 2012
1 parent e365376 commit 2fa0311
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/guake
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,10 @@ class Guake(SimpleGladeApp):
if not val:
self.toolbar.hide()
else:
window_rect = self.get_final_window_rect()
self.window.unfullscreen()
self.window.resize(window_rect.width, window_rect.height)
self.window.move(window_rect.x, window_rect.y)
self.fullscreen = False

# making sure that tabbar and resizer will come back to
Expand Down

0 comments on commit 2fa0311

Please sign in to comment.