From e0c3fe939fcc5f42370a79372d833c25415f349e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 25 Oct 2022 10:44:36 +0200 Subject: Fix problem with cursor point of action after FL_PUSH (#521) --- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 0f2f24ee0..68cbe50cc 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -332,7 +332,6 @@ static void pointer_button(void *data, uint32_t state) { struct seat *seat = (struct seat*)data; - seat->serial = serial; int event = 0; Fl_Window *win = Fl_Wayland_Screen_Driver::surface_to_window(seat->pointer_focus); if (!win) return; @@ -656,7 +655,6 @@ static void wl_keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, uint32_t time, uint32_t key, uint32_t state) { struct seat *seat = (struct seat*)data; - seat->serial = serial; static char buf[128]; uint32_t keycode = key + 8; xkb_keysym_t sym = xkb_state_key_get_one_sym(seat->xkb_state, keycode); -- cgit v1.2.3