wayland: Drop an unused field
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Jun 2023 21:17:48 +0000 (17:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Jun 2023 00:50:09 +0000 (20:50 -0400)
Nobody is using the wl_input_device field.

gdk/wayland/gdkdisplay-wayland.h
gtk/inspector/general.c

index b7d9a90c0c69c767731b1ef44def2d2a585acafc..0758901e2f3d9c8871349fdcc7e72fc9f0718448 100644 (file)
@@ -98,7 +98,6 @@ struct _GdkWaylandDisplay
   struct xdg_wm_base *xdg_wm_base;
   struct zxdg_shell_v6 *zxdg_shell_v6;
   struct gtk_shell1 *gtk_shell;
-  struct wl_input_device *input_device;
   struct wl_data_device_manager *data_device_manager;
   struct wl_subcompositor *subcompositor;
   struct zwp_pointer_gestures_v1 *pointer_gestures;
index 5ecfc9c9d033e3b87be1b7d08cc236a90d86aa36..1bdbdebc5d57260640ffe3f26cf91983e5d37c43 100644 (file)
@@ -623,7 +623,6 @@ add_wayland_protocols (GdkDisplay          *display,
       append_wayland_protocol_row (gen, (struct wl_proxy *)d->xdg_wm_base);
       append_wayland_protocol_row (gen, (struct wl_proxy *)d->zxdg_shell_v6);
       append_wayland_protocol_row (gen, (struct wl_proxy *)d->gtk_shell);
-      append_wayland_protocol_row (gen, (struct wl_proxy *)d->input_device);
       append_wayland_protocol_row (gen, (struct wl_proxy *)d->data_device_manager);
       append_wayland_protocol_row (gen, (struct wl_proxy *)d->subcompositor);
       append_wayland_protocol_row (gen, (struct wl_proxy *)d->pointer_gestures);