Skip to content

Commit

Permalink
Very partial fix for "IME problem under wayland" in fltk-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ManoloFLTK committed Apr 24, 2024
1 parent 3f91c8b commit 00b603f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 00b603f

Please sign in to comment.