only prevent faulty reappearing when hide_on_lose_focus is enabled
This commit is contained in:
parent
b30197de06
commit
89230457a1
|
@ -263,8 +263,9 @@ class Window(Container, gtk.Window):
|
||||||
|
|
||||||
if not self.get_property('visible'):
|
if not self.get_property('visible'):
|
||||||
#Don't show if window has just been hidden because of
|
#Don't show if window has just been hidden because of
|
||||||
#e.g. lost focus
|
#lost focus
|
||||||
if time.time() - self.losefocus_time < 0.1:
|
if (time.time() - self.losefocus_time < 0.1) and \
|
||||||
|
self.config['hide_on_lose_focus']:
|
||||||
return
|
return
|
||||||
if self.position:
|
if self.position:
|
||||||
self.move(self.position[0], self.position[1])
|
self.move(self.position[0], self.position[1])
|
||||||
|
|
Loading…
Reference in New Issue