* Add/move the last read line even if the window is focused, if we're on

a different tab.
This commit is contained in:
Alex Mauer 2006-05-18 21:45:59 +00:00
parent 243ff81626
commit d4c11be06d
1 changed files with 2 additions and 1 deletions

View File

@ -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