diff --git a/repos/os/include/input/event.h b/repos/os/include/input/event.h index c017976787..393c8ec189 100644 --- a/repos/os/include/input/event.h +++ b/repos/os/include/input/event.h @@ -93,7 +93,7 @@ class Input::Event * types for assignments or for passing an event as return value. */ Event(Press_char arg) : _type(PRESS) { _attr.press = arg; } - Event(Press arg) : Event(Press_char{arg.key, Codepoint{INVALID}}) { } + Event(Press arg) : Event(Press_char{arg.key, Codepoint{Codepoint::INVALID}}) { } Event(Release arg) : _type(RELEASE) { _attr.release = arg; } Event(Relative_motion arg) : _type(REL_MOTION) { _attr.rel_motion = arg; } Event(Absolute_motion arg) : _type(ABS_MOTION) { _attr.abs_motion = arg; }