summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-10-25 10:44:36 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-10-25 10:44:36 +0200
commite0c3fe939fcc5f42370a79372d833c25415f349e (patch)
tree38c7ca007bd07c06b68c887a9951aad2eb0a3993 /src
parentb0d4c2fd4c0a6ef8c504ddce4f54a75783f94028 (diff)
Fix problem with cursor point of action after FL_PUSH (#521)
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx2
1 files changed, 0 insertions, 2 deletions
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);