1 diff -Naur OLD//src/guake.py NEW//src/guake.py
2 --- OLD//src/guake.py 2010-01-20 11:23:00.000000000 +0100
3 +++ NEW//src/guake.py 2010-04-09 08:18:28.000000000 +0200
5 self.losefocus_time = 0
8 - if not self.window.get_property('visible'):
10 - self.set_terminal_focus()
11 + if self.window.get_property('visible'):
12 + screen = self.window.get_screen()
13 + if screen.get_active_window() == self.window.window:
17 + self.set_terminal_focus()
21 + self.set_terminal_focus()
24 """Shows the main window and grabs the focus on it.