Rev | Line | |
---|
[8096] | 1 | From cf5dbda6749e8d0c47b44269b92e58d266ec830b Mon Sep 17 00:00:00 2001 |
---|
| 2 | From: Pierre-Yves Chibon <pingou@pingoured.fr> |
---|
| 3 | Date: Tue, 26 Jun 2012 09:23:20 +0200 |
---|
| 4 | Subject: [PATCH] Fix focus issue on gnome-shell |
---|
| 5 | |
---|
| 6 | This fixes issue #436 from guake's trac. |
---|
| 7 | Problem was that after hiding guake's window the window below doesn't get the focus back. |
---|
| 8 | |
---|
| 9 | However, this fix seems to not work on ubuntu (something with unity?) |
---|
| 10 | --- |
---|
| 11 | src/guake | 1 + |
---|
| 12 | 1 file changed, 1 insertion(+) |
---|
| 13 | |
---|
| 14 | diff --git a/src/guake b/src/guake |
---|
| 15 | index 33ad7fd..acabb45 100644 |
---|
| 16 | --- a/src/guake |
---|
| 17 | +++ b/src/guake |
---|
| 18 | @@ -809,6 +809,7 @@ class Guake(SimpleGladeApp): |
---|
| 19 | """Hides the main window of the terminal and sets the visible |
---|
| 20 | flag to False. |
---|
| 21 | """ |
---|
| 22 | + self.window.set_keep_below(True) |
---|
| 23 | self.window.hide() # Don't use hide_all here! |
---|
| 24 | |
---|
| 25 | def get_final_window_rect(self): |
---|
| 26 | -- |
---|
| 27 | 1.7.10.2 |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.