mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-10 13:09:55 +02:00
Applications/Internet/Cyberia: Ignore keyboard shortcuts when window is not active
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user