summaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-06 10:38:17 -0500
committerKristian Høgsberg <krh@redhat.com>2008-11-06 10:53:03 -0500
commit5503bf82c44b2da26c27582b3d4400d7fd8d23c3 (patch)
tree2e4d41fda1ef0bccb098bc5e61a0c1df405e8260 /wayland.h
parent61ba898b7358ea0cdc9e933e6f7ddb74de2113e9 (diff)
dlopen the compositor, add a glx compositor.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/wayland.h b/wayland.h
index a7e80a4..ec28a44 100644
--- a/wayland.h
+++ b/wayland.h
@@ -113,7 +113,7 @@ wl_display_post_button_event(struct wl_display *display,
struct wl_object *source, int button, int state);
struct wl_compositor {
- struct wl_compositor_interface *interface;
+ const struct wl_compositor_interface *interface;
};
struct wl_compositor_interface {
@@ -128,8 +128,6 @@ struct wl_compositor_interface {
struct wl_surface *surface, struct wl_map *map);
};
-struct wl_compositor *wl_compositor_create(struct wl_display *display);
-
void wl_display_set_compositor(struct wl_display *display,
struct wl_compositor *compositor);