mirror of
https://github.com/brl/mutter.git
synced 2025-08-10 02:14:42 +00:00
wayland: Move device seat association to MetaWaylandInputDevice
Make the device <-> seat association permanent, and move it into MetaWaylandInputDevice. A device will never be disassociated with a seat, so there is no point in unsetting it. https://bugzilla.gnome.org/show_bug.cgi?id=771305
This commit is contained in:
@@ -83,8 +83,6 @@ struct _MetaWaylandKeyboard
|
||||
{
|
||||
MetaWaylandInputDevice parent;
|
||||
|
||||
MetaWaylandSeat *seat;
|
||||
|
||||
struct wl_list resource_list;
|
||||
struct wl_list focus_resource_list;
|
||||
|
||||
@@ -103,8 +101,7 @@ struct _MetaWaylandKeyboard
|
||||
GSettings *gsd_settings;
|
||||
};
|
||||
|
||||
void meta_wayland_keyboard_enable (MetaWaylandKeyboard *keyboard,
|
||||
MetaWaylandSeat *seat);
|
||||
void meta_wayland_keyboard_enable (MetaWaylandKeyboard *keyboard);
|
||||
|
||||
void meta_wayland_keyboard_disable (MetaWaylandKeyboard *keyboard);
|
||||
|
||||
|
Reference in New Issue
Block a user