This commit is contained in:
Kovid Goyal 2021-10-15 09:56:22 +05:30
parent a16ffcdde2
commit a95025752a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -839,6 +839,7 @@ class Boss:
def focus_visible_window_trigger(self, idx: int = -1) -> None:
tab = self.active_tab
redirect_mouse_handling(False)
self.clear_pending_sequences()
if tab is not None:
for window in tab:
window.screen.set_window_number()
@ -851,11 +852,9 @@ class Boss:
tab = self.active_tab
if w is not None and tab is not None and w in tab:
tab.set_active_window(w)
self.clear_pending_sequences()
self.focus_visible_window_trigger()
return
if ev.button > -1:
self.clear_pending_sequences()
self.focus_visible_window_trigger()
def mouse_event(