From c720aae51515907ae82ee02df80bd084f291d4b1 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 15 Mar 2022 06:42:06 +0100 Subject: Make hybrid Wayland/X11 platform. --- src/Fl_Input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Input.cxx') diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index 880b7c676..bc94a8897 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -374,7 +374,7 @@ int Fl_Input::handle_key() { return 1; } - unsigned int mods = Fl::event_state() & (FL_META|FL_CTRL|FL_ALT); + int mods = Fl::event_state() & (FL_META|FL_CTRL|FL_ALT); unsigned int shift = Fl::event_state() & FL_SHIFT; unsigned int multiline = (input_type() == FL_MULTILINE_INPUT) ? 1 : 0; // -- cgit v1.2.3