From b558388db408a114a846038b25377e6db650d64d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 1 Aug 2008 14:27:09 +0000 Subject: [PATCH] windows steal focus when clicking on systray. fixes #4168 --- src/systray.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/systray.py b/src/systray.py index 2abc6b23d..36b650cbd 100644 --- a/src/systray.py +++ b/src/systray.py @@ -293,7 +293,8 @@ class Systray: 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