Merge branch 'gtk3_crash_tablet_pad_remove' into 'gtk-3-24'
gdk/wayland: Clear current_tablet on pad leave See merge request GNOME/gtk!6884
This commit is contained in:
@ -4560,7 +4560,10 @@ tablet_pad_handle_leave (void *data,
|
|||||||
wp_tablet_pad, surface));
|
wp_tablet_pad, surface));
|
||||||
|
|
||||||
if (pad->current_tablet)
|
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
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user