diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2010-09-02 20:27:16 -0400 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-09-02 20:27:16 -0400 |
| commit | f66d0f4e14818b12d2c02f924237a2e8a90de720 (patch) | |
| tree | 09fd1e1b9ba99a734dd6936d444c4adee4877c23 /wayland-server.c | |
| parent | Use a transient object for the dnd session (diff) | |
| download | wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.tar wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.tar.gz wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.tar.bz2 wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.tar.lz wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.tar.xz wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.tar.zst wayland-f66d0f4e14818b12d2c02f924237a2e8a90de720.zip | |
Get rid of wl_client_add_surface() special case
Diffstat (limited to 'wayland-server.c')
| -rw-r--r-- | wayland-server.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/wayland-server.c b/wayland-server.c index 869bdd9..eb003fc 100644 --- a/wayland-server.c +++ b/wayland-server.c @@ -262,22 +262,6 @@ wl_client_destroy(struct wl_client *client) free(client); } -WL_EXPORT int -wl_client_add_surface(struct wl_client *client, - struct wl_surface *surface, - const struct wl_surface_interface *implementation, - uint32_t id) -{ - surface->base.base.id = id; - surface->base.base.interface = &wl_surface_interface; - surface->base.base.implementation = (void (**)(void)) implementation; - surface->client = client; - - wl_client_add_resource(client, &surface->base); - - return 0; -} - WL_EXPORT void wl_client_send_acknowledge(struct wl_client *client, struct wl_compositor *compositor, |
