summaryrefslogtreecommitdiffstats
path: root/wayland-protocol.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-12-21 21:54:51 -0500
committerKristian Høgsberg <krh@redhat.com>2008-12-21 21:57:45 -0500
commitfb6d68ddbe76d2cf716bf6075e6e1afe2caaea1e (patch)
treedc59edf545e4559f1238f398b7c301091947950f /wayland-protocol.c
parentfe831a749421470c6c1c8e842a785d7fc3c4ac9b (diff)
downloadwayland-fb6d68ddbe76d2cf716bf6075e6e1afe2caaea1e.tar.gz
wayland-fb6d68ddbe76d2cf716bf6075e6e1afe2caaea1e.tar.xz
wayland-fb6d68ddbe76d2cf716bf6075e6e1afe2caaea1e.zip
Represent event and method metadata with struct wl_message.
Diffstat (limited to 'wayland-protocol.c')
-rw-r--r--wayland-protocol.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/wayland-protocol.c b/wayland-protocol.c
index 3af3c62..5b20154 100644
--- a/wayland-protocol.c
+++ b/wayland-protocol.c
@@ -25,7 +25,7 @@
#include "wayland-util.h"
#include "wayland-protocol.h"
-static const struct wl_event display_events[] = {
+static const struct wl_message display_events[] = {
{ "invalid_object", "u" },
{ "invalid_method", "uu" },
{ "no_memory", "" },
@@ -39,12 +39,12 @@ WL_EXPORT const struct wl_interface wl_display_interface = {
};
-static const struct wl_method compositor_methods[] = {
+static const struct wl_message compositor_methods[] = {
{ "create_surface", "n" },
{ "commit", "u" }
};
-static const struct wl_event compositor_events[] = {
+static const struct wl_message compositor_events[] = {
{ "acknowledge", "uu" },
{ "frame", "uu" }
};
@@ -56,7 +56,7 @@ WL_EXPORT const struct wl_interface wl_compositor_interface = {
};
-static const struct wl_method surface_methods[] = {
+static const struct wl_message surface_methods[] = {
{ "destroy", "" },
{ "attach", "uuuuo" },
{ "map", "iiii" },
@@ -71,7 +71,7 @@ WL_EXPORT const struct wl_interface wl_surface_interface = {
};
-static const struct wl_event input_device_events[] = {
+static const struct wl_message input_device_events[] = {
{ "motion", "iiii" },
{ "button", "uuiiii" },
{ "key", "uu" },