mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
sculpt: seq events for touch_release
This commit is contained in:
committed by
Christian Helmuth
parent
37d5bdbae5
commit
9d5af71c3d
@@ -43,9 +43,10 @@ struct Gui::Session_component : Rpc_object<Gui::Session>
|
||||
*/
|
||||
bool const advance_seq_number = ev.key_press(Input::BTN_LEFT)
|
||||
|| ev.key_release(Input::BTN_LEFT)
|
||||
|| ev.touch();
|
||||
|| ev.touch() || ev.touch_release();
|
||||
if (advance_seq_number) {
|
||||
_global_input_seq_number.value++;
|
||||
|
||||
_input_component.submit(_global_input_seq_number);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user