diff --git a/src/groupchat_control.py b/src/groupchat_control.py index da933f1bc..9d1ab54a0 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