summaryrefslogtreecommitdiffstats
path: root/wayland-client.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-12-21 23:37:12 -0500
committerKristian Høgsberg <krh@redhat.com>2008-12-21 23:37:12 -0500
commitee02ca6fa489a99ddec5d1542d51cce9948d39a9 (patch)
tree079e7e4462fe5f365f5a6f3530b666a922ffcf12 /wayland-client.h
parent8049cbb88a4d2c93cdee9188eeb1d219aebcd343 (diff)
downloadwayland-ee02ca6fa489a99ddec5d1542d51cce9948d39a9.tar.gz
wayland-ee02ca6fa489a99ddec5d1542d51cce9948d39a9.tar.xz
wayland-ee02ca6fa489a99ddec5d1542d51cce9948d39a9.zip
Add hook to allow globals to send cold-plug events to new clients.
This lets us boot strap the client side state cache. This commit also adds the first user of this feature, an output object that represents the current output. Very simple at this point, but will grow to something more like RandR 1.2.
Diffstat (limited to 'wayland-client.h')
-rw-r--r--wayland-client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland-client.h b/wayland-client.h
index 1a41217..fd15839 100644
--- a/wayland-client.h
+++ b/wayland-client.h
@@ -57,6 +57,9 @@ void wl_display_set_event_handler(struct wl_display *display,
wl_display_event_func_t handler,
void *data);
+void
+wl_display_get_geometry(struct wl_display *display,
+ int32_t *width, int32_t *height);
struct wl_compositor *
wl_display_get_compositor(struct wl_display *display);
struct wl_visual *