summaryrefslogtreecommitdiffstats
path: root/wayland-protocol.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-02-22 21:51:24 -0500
committerKristian Høgsberg <krh@redhat.com>2009-02-22 21:51:24 -0500
commitdb6c2f3f0e355f856baa59423fa84e05269b6125 (patch)
treecf517809dc83e335882baf1bd015c8aeac004321 /wayland-protocol.h
parentce5a9c10960e2a4abc8da3b5514c6587d58bae82 (diff)
downloadwayland-db6c2f3f0e355f856baa59423fa84e05269b6125.tar.gz
wayland-db6c2f3f0e355f856baa59423fa84e05269b6125.tar.xz
wayland-db6c2f3f0e355f856baa59423fa84e05269b6125.zip
Add keyboard and pointer focus events.
Diffstat (limited to 'wayland-protocol.h')
-rw-r--r--wayland-protocol.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/wayland-protocol.h b/wayland-protocol.h
index a0f1990..2b87a14 100644
--- a/wayland-protocol.h
+++ b/wayland-protocol.h
@@ -52,9 +52,11 @@ extern const struct wl_interface wl_compositor_interface;
extern const struct wl_interface wl_surface_interface;
-#define WL_INPUT_MOTION 0
-#define WL_INPUT_BUTTON 1
-#define WL_INPUT_KEY 2
+#define WL_INPUT_MOTION 0
+#define WL_INPUT_BUTTON 1
+#define WL_INPUT_KEY 2
+#define WL_INPUT_POINTER_FOCUS 3
+#define WL_INPUT_KEYBOARD_FOCUS 4
extern const struct wl_interface wl_input_device_interface;