mirror of
https://github.com/Guake/guake.git
synced 2025-10-26 11:27:13 +00:00
[WIP] Trick to avoid disapearand after "Show Desktop".
Should fix #45 Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
eaeac2f3f7
commit
75e52fa33f
@ -791,6 +791,12 @@ class Guake(SimpleGladeApp):
|
||||
# smaller.
|
||||
self.window.set_geometry_hints(min_width=1, min_height=1)
|
||||
|
||||
# special trick to avoid the "lost guake on Ubuntu 'Show Desktop'" problem.
|
||||
# DOCK makes the window foundable after having being "lost" after "Show Desktop"
|
||||
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)
|
||||
# Restore back to normal behavior
|
||||
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_NORMAL)
|
||||
|
||||
# resizer stuff
|
||||
self.resizer.connect('motion-notify-event', self.on_resizer_drag)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user