mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 15:18:20 +00:00
Adapt high-level components to new parent API
This patch adjusts the various users of the 'Child' API to the changes on the account of the new non-blocking parent interface. It also removes the use of the no-longer-available 'Connection::KEEP_OPEN' feature. With the adjustment, we took the opportunity to redesign several components to fit the non-blocking execution model much better, in particular the demo applications. Issue #2120
This commit is contained in:
committed by
Christian Helmuth
parent
8bafb9d41b
commit
b44f0554bd
@ -78,7 +78,7 @@ class Scout::User_state : public Parent_element
|
||||
/**
|
||||
* Apply input event to mouse focus state
|
||||
*/
|
||||
void handle_event(Event &ev)
|
||||
void handle_event(Event const &ev)
|
||||
{
|
||||
_key_cnt += ev.type == Event::PRESS ? 1 : 0;
|
||||
_key_cnt -= ev.type == Event::RELEASE ? 1 : 0;
|
||||
|
Reference in New Issue
Block a user