diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-10-11 18:40:23 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-11-06 10:51:58 -0500 |
commit | f921289954840063722c8e3d541c5089b34a082a (patch) | |
tree | fd68fc7ed9a3878e16be2955c17fb6e3453a16d8 /wayland.h | |
parent | 16eb6753991d33cc2a90e6f8d1b970cf4603ef0e (diff) | |
download | wayland-f921289954840063722c8e3d541c5089b34a082a.tar.gz wayland-f921289954840063722c8e3d541c5089b34a082a.tar.xz wayland-f921289954840063722c8e3d541c5089b34a082a.zip |
Handle multiple clients better.
Diffstat (limited to 'wayland.h')
-rw-r--r-- | wayland.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -84,6 +84,13 @@ struct wl_map { void wl_surface_set_data(struct wl_surface *surface, void *data); void *wl_surface_get_data(struct wl_surface *surface); +struct wl_surface_iterator; +struct wl_surface_iterator * +wl_surface_iterator_create(struct wl_display *display, uint32_t mask); +int wl_surface_iterator_next(struct wl_surface_iterator *iterator, + struct wl_surface **surface); +void wl_surface_iterator_destroy(struct wl_surface_iterator *iterator); + struct wl_compositor { struct wl_compositor_interface *interface; }; @@ -100,7 +107,7 @@ struct wl_compositor_interface { struct wl_surface *surface, struct wl_map *map); }; -struct wl_compositor *wl_compositor_create(void); +struct wl_compositor *wl_compositor_create(struct wl_display *display); void wl_display_set_compositor(struct wl_display *display, struct wl_compositor *compositor); |