Philipp Hörist pushed to branch master at gajim / gajim
Commits: 2bef238b by lovetox at 2021-03-01T16:26:37+01:00 StatusIcon: Only hide application when its focused - - - - - 1 changed file: - gajim/gtk/statusicon.py Changes: ===================================== gajim/gtk/statusicon.py ===================================== @@ -314,10 +314,9 @@ def _on_left_click(self): win = app.interface.roster.window if not app.events.get_systray_events(): # No pending events, so toggle visible/hidden for roster window - if win.get_property('visible'): - if win.get_property('has-toplevel-focus') or os.name == 'nt': - save_roster_position(win) - win.hide() # else we hide it from VD that was visible in + if win.get_property('has-toplevel-focus'): + save_roster_position(win) + win.hide() else: win.show_all() restore_roster_position(win) View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2bef238b37832f0e9b327636ed1b01ba6f372d80 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2bef238b37832f0e9b327636ed1b01ba6f372d80 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits