From d4c11be06d5b11c4d69e4d3f206b91baad1ab6eb Mon Sep 17 00:00:00 2001 From: Alex Mauer <hawke@hawkesnest.net> Date: Thu, 18 May 2006 21:45:59 +0000 Subject: [PATCH] * Add/move the last read line even if the window is focused, if we're on a different tab. --- src/groupchat_control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index da933f1bcf..9d1ab54a03 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -581,7 +581,8 @@ class GroupchatControl(ChatControlBase): win = gajim.interface.msg_win_mgr.get_window(self.room_jid, self.account) if self.room_jid == win.get_active_jid() and\ - win.window.get_property('has-toplevel-focus'): + win.window.get_property('has-toplevel-focus') and\ + self.parent_win.get_active_control() == self: # it's the current room and it's the focused window. # we have full focus (we are reading it!) return -- GitLab