summaryrefslogtreecommitdiffstats
path: root/wayland-protocol.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-protocol.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-protocol.h')
-rw-r--r--wayland-protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wayland-protocol.h b/wayland-protocol.h
index c71cfdc..76a80c5 100644
--- a/wayland-protocol.h
+++ b/wayland-protocol.h
@@ -78,4 +78,9 @@ extern const struct wl_interface wl_surface_interface;
extern const struct wl_interface wl_input_device_interface;
+
+#define WL_OUTPUT_PRESENCE 0
+
+extern const struct wl_interface wl_output_interface;
+
#endif