wayland: Propagate a tablet's DEVICE_REMOVED to trigger the signals
Clutter's "device-removed" signal is sent in clutter_seat_handle_event_post(). Our tablet code is set up to handle that signal to then notify wayland clients of removed tablet devices. However, returning CLUTTER_EVENT_STOP for a DEVICE_REMOVED event means we never get to the point where we send out the signals and thus never remove the tablets. Fixes:a37fd34bbb
("wayland: Make MetaWaylandSeat in charge of its own tablet seat") Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3615 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3955> (cherry picked from commitc03e64ef1d
)
This commit is contained in:
parent
04b2b87959
commit
3a580e4bce
1 changed files with 2 additions and 0 deletions
|
@ -448,6 +448,8 @@ meta_wayland_tablet_seat_handle_event (MetaWaylandTabletSeat *tablet_seat,
|
|||
return CLUTTER_EVENT_PROPAGATE;
|
||||
|
||||
return meta_wayland_tablet_pad_handle_event (pad, event);
|
||||
case CLUTTER_DEVICE_REMOVED:
|
||||
return CLUTTER_EVENT_PROPAGATE;
|
||||
default:
|
||||
return CLUTTER_EVENT_STOP;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue