mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00:00
parent
bbd27a54d3
commit
cc611834c9
@ -141,7 +141,7 @@ class Input::Event
|
|||||||
template <typename FN>
|
template <typename FN>
|
||||||
void handle_repeat(FN const &fn) const
|
void handle_repeat(FN const &fn) const
|
||||||
{
|
{
|
||||||
if (key_press(KEY_UNKNOWN) && _attr.press.codepoint.value)
|
if (key_press(KEY_UNKNOWN) && _attr.press.codepoint.valid())
|
||||||
fn(_attr.press.codepoint);
|
fn(_attr.press.codepoint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user