Related to "FLTK doesn't work normal on platform of rockchip" (#817)

This commit is contained in:
ManoloFLTK 2023-11-03 22:10:01 +01:00
parent d9798d2840
commit d4d72cfdaf

View File

@ -654,7 +654,7 @@ void Fl_Wayland_Screen_Driver::compose_reset() {
if (!Fl_Wayland_Screen_Driver::wl_registry) open_display();
Fl::compose_state = 0;
next_marked_length = 0;
xkb_compose_state_reset(seat->xkb_compose_state);
if (seat->xkb_compose_state) xkb_compose_state_reset(seat->xkb_compose_state);
}