* Add/move the last read line even if the window is focused, if we're on
a different tab.
This commit is contained in:
parent
243ff81626
commit
d4c11be06d
|
@ -581,7 +581,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
|
|
||||||
win = gajim.interface.msg_win_mgr.get_window(self.room_jid, self.account)
|
win = gajim.interface.msg_win_mgr.get_window(self.room_jid, self.account)
|
||||||
if self.room_jid == win.get_active_jid() and\
|
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.
|
# it's the current room and it's the focused window.
|
||||||
# we have full focus (we are reading it!)
|
# we have full focus (we are reading it!)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue