windows steal focus when clicking on systray. fixes #4168

This commit is contained in:
Yann Leboulanger 2008-08-01 14:27:09 +00:00
parent 32eaa3219f
commit b558388db4
1 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,8 @@ class Systray:
return return
win = gajim.interface.roster.window win = gajim.interface.roster.window
# toggle visible/hidden for roster window # toggle visible/hidden for roster window
if win.get_property('visible') and win.get_property('has-toplevel-focus'): if win.get_property('visible') and (win.get_property('has-toplevel-focus') or \
os.name == 'nt'):
# visible in ANY virtual desktop? # visible in ANY virtual desktop?
# we could be in another VD right now. eg vd2 # we could be in another VD right now. eg vd2