wayland: Use a GdkSeat as key for our internal hash table
authorOlivier Fourdan <ofourdan@redhat.com>
Fri, 27 Mar 2020 13:40:52 +0000 (14:40 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 30 Mar 2020 16:25:36 +0000 (18:25 +0200)
commit5ac73be976a87558645b32207eba3be67506461b
treed72ab465bd14f70d0b81258ceec7a7f09b98143d
parenta07a69e24e7522e53edaa895d4e363a92150eaf4
wayland: Use a GdkSeat as key for our internal hash table

With the current implementation, we use a `wl_seat` as the key for our
internal has table where we store the Wayland shortcuts inhibitors.

There is however no technical reason for this, and we could use a
GdkSeat instead, which will ease the implementation of the GdkToplevel
shortcut inhibition API.
gdk/wayland/gdksurface-wayland.c