aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-server.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-11-23 10:34:50 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-11-23 10:34:50 -0500
commit0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01 (patch)
tree7e7b03fbbeb2af42e178381ae555e2db5a520721 /src/wayland-server.h
parentAdd support for server allocated object IDs (diff)
downloadwayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.tar
wayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.tar.gz
wayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.tar.bz2
wayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.tar.lz
wayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.tar.xz
wayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.tar.zst
wayland-0b7d1e86af1e3da1dbee79ebdee2616a6e8bcf01.zip
server: Stop special casing the compositor
wl_compositor_init() was just adding the global and providing a helper bind function. Not useful enough to warrent API.
Diffstat (limited to 'src/wayland-server.h')
-rw-r--r--src/wayland-server.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h
index ead95cc..269a079 100644
--- a/src/wayland-server.h
+++ b/src/wayland-server.h
@@ -124,10 +124,6 @@ struct wl_shm_callbacks {
void (*buffer_destroyed)(struct wl_buffer *buffer);
};
-struct wl_compositor {
- const struct wl_compositor_interface *interface;
-};
-
struct wl_buffer {
struct wl_resource resource;
int32_t width, height;
@@ -161,7 +157,6 @@ struct wl_grab {
struct wl_input_device {
struct wl_list resource_list;
- struct wl_compositor *compositor;
struct wl_resource *pointer_focus_resource;
struct wl_surface *pointer_focus;
struct wl_resource *keyboard_focus_resource;
@@ -242,8 +237,7 @@ void
wl_resource_destroy(struct wl_resource *resource, uint32_t time);
void
-wl_input_device_init(struct wl_input_device *device,
- struct wl_compositor *compositor);
+wl_input_device_init(struct wl_input_device *device);
void
wl_input_device_set_pointer_focus(struct wl_input_device *device,