Merge branch 'gtk4_crash_tablet_pad_remove' into 'main'

gdk/wayland: Clear current_tablet on pad leave

See merge request GNOME/gtk!6883
This commit is contained in:
Carlos Garnacho 2024-02-11 17:07:14 +00:00
commit e492dac7fe

View File

@ -3629,7 +3629,10 @@ tablet_pad_handle_leave (void *data,
wp_tablet_pad, surface);
if (pad->current_tablet)
pad->current_tablet->pads = g_list_remove (pad->current_tablet->pads, pad);
{
pad->current_tablet->pads = g_list_remove (pad->current_tablet->pads, pad);
pad->current_tablet = NULL;
}
}
static void