LibInput: Add support for right super and application keys

This commit is contained in:
2026-07-04 19:11:30 +03:00
parent 652e170da9
commit 5256fd2e0a
8 changed files with 66 additions and 46 deletions

View File

@@ -481,7 +481,7 @@ static void update_volume(const char* new_volume)
void WindowServer::on_key_event(LibInput::KeyEvent event)
{
if (event.key == LibInput::Key::Super)
if (event.key == LibInput::Key::LeftSuper)
m_is_mod_key_held = event.pressed();
if (event.pressed() && event.key == LibInput::Key::VolumeDown)