Skip to content
Snippets Groups Projects
Commit d4c11be0 authored by Alex Mauer's avatar Alex Mauer
Browse files

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

a different tab.
parent 243ff816
No related branches found
No related tags found
No related merge requests found
...@@ -581,7 +581,8 @@ class GroupchatControl(ChatControlBase): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment