Fix the new_window keyboard shortcut being passed through
This commit is contained in:
parent
a92b3c605f
commit
3675c27268
@ -174,7 +174,7 @@ class Boss:
|
||||
f = getattr(self, func, None)
|
||||
if f is not None:
|
||||
passthrough = f()
|
||||
if not passthrough:
|
||||
if passthrough is not True:
|
||||
return True
|
||||
tab = self.active_tab
|
||||
if tab is None:
|
||||
@ -186,7 +186,7 @@ class Boss:
|
||||
f = getattr(tab, func, getattr(window, func, None))
|
||||
if f is not None:
|
||||
passthrough = f()
|
||||
if not passthrough:
|
||||
if passthrough is not True:
|
||||
return True
|
||||
data = get_sent_data(
|
||||
self.opts.send_text_map, key, scancode, mods, window, action
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user