From cf5dbda6749e8d0c47b44269b92e58d266ec830b Mon Sep 17 00:00:00 2001
From: Pierre-Yves Chibon <pingou@pingoured.fr>
Date: Tue, 26 Jun 2012 09:23:20 +0200
Subject: [PATCH] Fix focus issue on gnome-shell

This fixes issue #436 from guake's trac.
Problem was that after hiding guake's window the window below doesn't get the focus back.

However, this fix seems to not work on ubuntu (something with unity?)
---
 src/guake |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/guake b/src/guake
index 33ad7fd..acabb45 100644
--- a/src/guake
+++ b/src/guake
@@ -809,6 +809,7 @@ class Guake(SimpleGladeApp):
         """Hides the main window of the terminal and sets the visible
         flag to False.
         """
+        self.window.set_keep_below(True)
         self.window.hide() # Don't use hide_all here!
 
     def get_final_window_rect(self):
-- 
1.7.10.2

