diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c index 9b60fb75f..af85d4425 100644 --- a/src/wayland/meta-wayland-seat.c +++ b/src/wayland/meta-wayland-seat.c @@ -108,8 +108,6 @@ meta_wayland_seat_new (struct wl_display *display) meta_wayland_keyboard_init (&seat->keyboard, display); meta_wayland_touch_init (&seat->touch, display); - seat->display = display; - wl_global_create (display, &wl_seat_interface, META_WL_SEAT_VERSION, seat, bind_seat); return seat; diff --git a/src/wayland/meta-wayland-seat.h b/src/wayland/meta-wayland-seat.h index 95f96ec94..f38ea9606 100644 --- a/src/wayland/meta-wayland-seat.h +++ b/src/wayland/meta-wayland-seat.h @@ -42,8 +42,6 @@ struct _MetaWaylandSeat MetaWaylandPointer pointer; MetaWaylandKeyboard keyboard; MetaWaylandTouch touch; - - struct wl_display *display; }; void meta_wayland_seat_init (MetaWaylandCompositor *compositor);