aboutsummaryrefslogtreecommitdiffstats
path: root/wayland-server.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-09-03 15:15:33 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-09-03 15:15:33 -0400
commitf8ffded1e59d9e723d830b5a445ca386ea31ec21 (patch)
tree11487c4a2229b03aff2db65db69fd2bce2e30088 /wayland-server.c
parentReplace commit/ack/frame protocol with simpler sync and frame callbacks (diff)
downloadwayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.tar
wayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.tar.gz
wayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.tar.bz2
wayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.tar.lz
wayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.tar.xz
wayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.tar.zst
wayland-f8ffded1e59d9e723d830b5a445ca386ea31ec21.zip
Drop wl_display_set_compositor() special case
Diffstat (limited to 'wayland-server.c')
-rw-r--r--wayland-server.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/wayland-server.c b/wayland-server.c
index db8bf74..ac87bb3 100644
--- a/wayland-server.c
+++ b/wayland-server.c
@@ -282,21 +282,6 @@ wl_client_destroy(struct wl_client *client)
free(client);
}
-WL_EXPORT int
-wl_display_set_compositor(struct wl_display *display,
- struct wl_compositor *compositor,
- const struct wl_compositor_interface *implementation)
-{
- compositor->base.interface = &wl_compositor_interface;
- compositor->base.implementation = (void (**)(void)) implementation;
-
- wl_display_add_object(display, &compositor->base);
- if (wl_display_add_global(display, &compositor->base, NULL))
- return -1;
-
- return 0;
-}
-
static void
display_sync(struct wl_client *client,
struct wl_display *display, uint32_t key)