mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-09 06:58:44 +00:00
WindowServer: Implement switching windows in reverse order
This commit is contained in:
committed by
Andreas Kling
parent
58517bc068
commit
dfd759f75a
@@ -1065,7 +1065,8 @@ void WSWindowManager::event(CEvent& event)
|
||||
return;
|
||||
}
|
||||
|
||||
if (key_event.type() == WSEvent::KeyDown && key_event.modifiers() == Mod_Logo && key_event.key() == Key_Tab)
|
||||
if (key_event.type() == WSEvent::KeyDown && ((key_event.modifiers() == Mod_Logo && key_event.key() == Key_Tab) ||
|
||||
(key_event.modifiers() == (Mod_Logo | Mod_Shift) && key_event.key() == Key_Tab)))
|
||||
m_switcher.show();
|
||||
if (m_switcher.is_visible()) {
|
||||
m_switcher.on_key_event(key_event);
|
||||
|
||||
Reference in New Issue
Block a user