More clean-up
This commit is contained in:
parent
9f9dd97a87
commit
b6e440ab26
|
@ -23,10 +23,8 @@ def prof_on_room_win_focus(barejid):
|
|||
return None
|
||||
|
||||
def on_focus(jid):
|
||||
global focused
|
||||
global last_window_jid
|
||||
global unfocused_jid
|
||||
focused = True
|
||||
last_window_jid = jid
|
||||
unfocused_jid.pop(jid, None)
|
||||
if not unfocused_jid:
|
||||
|
|
Loading…
Reference in New Issue