Skip to content
Snippets Groups Projects
Commit b558388d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

windows steal focus when clicking on systray. fixes #4168

parent 32eaa321
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,8 @@ def on_left_click(self):
return
win = gajim.interface.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?
# we could be in another VD right now. eg vd2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment