3 #include "wayland-util.h"
5 extern const struct wl_interface wl_output_interface;
6 extern const struct wl_interface wl_shell_surface_interface;
7 extern const struct wl_interface wl_output_interface;
8 extern const struct wl_interface wl_shell_surface_interface;
9 extern const struct wl_interface wl_shell_surface_interface;
10 extern const struct wl_interface wl_shell_surface_interface;
11 extern const struct wl_interface wl_shell_surface_interface;
12 extern const struct wl_interface wl_output_interface;
14 static const struct wl_interface *types[] = {
16 &wl_shell_surface_interface,
18 &wl_shell_surface_interface,
19 &wl_shell_surface_interface,
22 &wl_shell_surface_interface,
25 &wl_shell_surface_interface,
29 static const struct wl_message desktop_shell_requests[] = {
30 { "set_background", "oo", types + 0 },
31 { "set_panel", "oo", types + 2 },
32 { "set_lock_surface", "o", types + 4 },
33 { "unlock", "", types + 0 },
36 static const struct wl_message desktop_shell_events[] = {
37 { "configure", "uuoii", types + 5 },
38 { "prepare_lock_surface", "", types + 0 },
41 WL_EXPORT const struct wl_interface desktop_shell_interface = {
43 ARRAY_LENGTH(desktop_shell_requests), desktop_shell_requests,
44 ARRAY_LENGTH(desktop_shell_events), desktop_shell_events,
47 static const struct wl_message screensaver_requests[] = {
48 { "set_surface", "oo", types + 10 },
51 WL_EXPORT const struct wl_interface screensaver_interface = {
53 ARRAY_LENGTH(screensaver_requests), screensaver_requests,