Applications/Internet/Cyberia: Ignore keyboard shortcuts when window is not active
This commit is contained in:
parent
a722ff7357
commit
690933d56c
1 changed files with 1 additions and 1 deletions
|
@ -718,7 +718,7 @@ U0 @cyberia_handle_numbered_tab_navigation()
|
|||
|
||||
U0 @cyberia_win_keypress(Window* w, I64 event)
|
||||
{
|
||||
if (!event)
|
||||
if (!event || Compositor.active_win != win)
|
||||
return;
|
||||
|
||||
@cyberia_handle_numbered_tab_navigation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue