diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-04-24 10:03:17 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-04-24 10:03:17 +0200 |
| commit | 00b603fa09027ae7ce3203786d942f625ef83cf8 (patch) | |
| tree | d9493783af26e775038fcdf0f0fdce7df8e79e59 /src/drivers | |
| parent | 3f91c8b5eeeb565beb79c43232c5aade9af6b79a (diff) | |
Very partial fix for "IME problem under wayland" in fltk-rs
see: https://github.com/fltk-rs/fltk-rs/issues/1539
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 92e9530b9..19ab37d01 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -911,9 +911,9 @@ void text_input_commit_string(void *data, struct zwp_text_input_v3 *zwp_text_inp Fl_Window *win = Fl_Wayland_Window_Driver::surface_to_window(surface); set_event_xy(win); Fl::e_is_click = 0; + Fl_Wayland_Screen_Driver::next_marked_length = 0; Fl::handle(FL_KEYDOWN, win); zwp_text_input_v3_commit(zwp_text_input_v3); - Fl_Wayland_Screen_Driver::next_marked_length = 0; Fl::compose_state = 0; } |
