mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Ignore grabbing tablet devices without pads or tools
Signed-off-by: Jie Liu <liujie01@kylinos.cn>
This commit is contained in:
parent
1ebcd27605
commit
d8919311b1
@ -4074,9 +4074,12 @@ gdk_wayland_seat_grab (GdkSeat *seat,
|
||||
{
|
||||
GdkWaylandTabletData *tablet = l->data;
|
||||
|
||||
if (tablet->current_tool)
|
||||
{
|
||||
gdk_wayland_device_maybe_emit_grab_crossing (tablet->logical_device,
|
||||
surface,
|
||||
evtime);
|
||||
}
|
||||
|
||||
_gdk_display_add_device_grab (display,
|
||||
tablet->logical_device,
|
||||
|
Loading…
Reference in New Issue
Block a user