diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-03 22:10:01 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-03 22:10:01 +0100 |
| commit | d4d72cfdaf635e5399a72ce58ca4709846b9c5fe (patch) | |
| tree | 75c37b9a821a4723df71c7d73bf340ba2bb921e9 /src/drivers | |
| parent | d9798d2840ec55e2b45a6e53d8b9b3a118732a7f (diff) | |
Related to "FLTK doesn't work normal on platform of rockchip" (#817)
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 a82afff73..7dfbe0376 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -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); } |
