[mutter] wayland: Remove seat->display
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Remove seat->display
- Date: Thu, 10 Jul 2014 17:39:02 +0000 (UTC)
commit 9b5d6cc00849705e601c1340667ad69232992d55
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 10 10:36:22 2014 -0400
wayland: Remove seat->display
It's unused.
src/wayland/meta-wayland-seat.c | 2 --
src/wayland/meta-wayland-seat.h | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c
index 9b60fb7..af85d44 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 95f96ec..f38ea96 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]