aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wl2/draw-mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/draw-mode.c')
-rw-r--r--src/lib/ecore_wl2/draw-mode.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/draw-mode.c b/src/lib/ecore_wl2/draw-mode.c
new file mode 100644
index 0000000000..3b84597bb0
--- /dev/null
+++ b/src/lib/ecore_wl2/draw-mode.c
@@ -0,0 +1,21 @@
+#include <stdlib.h>
+#include <stdint.h>
+#include "wayland-util.h"
+
+extern const struct wl_interface xdg_surface_interface;
+
+static const struct wl_interface *types[] = {
+ &xdg_surface_interface,
+ NULL,
+};
+
+static const struct wl_message draw_modes_requests[] = {
+ { "set_available_draw_modes", "oa", types + 0 },
+};
+
+WL_EXPORT const struct wl_interface draw_modes_interface = {
+ "draw_modes", 1,
+ 1, draw_modes_requests,
+ 0, NULL,
+};
+