mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
nitpicker: Hide global-operation key events
This commit is contained in:
@ -229,9 +229,12 @@ void User_state::handle_event(Input::Event ev)
|
|||||||
_input_receiver->submit_input_event(ev);
|
_input_receiver->submit_input_event(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* deliver press/release event to focused session */
|
/*
|
||||||
|
* Deliver press/release event to focused session. Never deliver events
|
||||||
|
* for keys that are configured for global operations.
|
||||||
|
*/
|
||||||
if (type == Event::PRESS || type == Event::RELEASE)
|
if (type == Event::PRESS || type == Event::RELEASE)
|
||||||
if (_input_receiver)
|
if (_input_receiver && !_global_keys.is_operation_key(keycode))
|
||||||
_input_receiver->submit_input_event(ev);
|
_input_receiver->submit_input_event(ev);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user