dwl-ipc-unstable-v2-protocol.c (2219B)
1 /* Generated by wayland-scanner 1.22.0 */ 2 3 #include <stdlib.h> 4 #include <stdint.h> 5 #include "wayland-util.h" 6 7 #ifndef __has_attribute 8 # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ 9 #endif 10 11 #if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) 12 #define WL_PRIVATE __attribute__ ((visibility("hidden"))) 13 #else 14 #define WL_PRIVATE 15 #endif 16 17 extern const struct wl_interface wl_output_interface; 18 extern const struct wl_interface zdwl_ipc_output_v2_interface; 19 20 static const struct wl_interface *dwl_ipc_unstable_v2_types[] = { 21 NULL, 22 NULL, 23 NULL, 24 NULL, 25 &zdwl_ipc_output_v2_interface, 26 &wl_output_interface, 27 }; 28 29 static const struct wl_message zdwl_ipc_manager_v2_requests[] = { 30 { "release", "", dwl_ipc_unstable_v2_types + 0 }, 31 { "get_output", "no", dwl_ipc_unstable_v2_types + 4 }, 32 }; 33 34 static const struct wl_message zdwl_ipc_manager_v2_events[] = { 35 { "tags", "u", dwl_ipc_unstable_v2_types + 0 }, 36 { "layout", "s", dwl_ipc_unstable_v2_types + 0 }, 37 }; 38 39 WL_PRIVATE const struct wl_interface zdwl_ipc_manager_v2_interface = { 40 "zdwl_ipc_manager_v2", 2, 41 2, zdwl_ipc_manager_v2_requests, 42 2, zdwl_ipc_manager_v2_events, 43 }; 44 45 static const struct wl_message zdwl_ipc_output_v2_requests[] = { 46 { "release", "", dwl_ipc_unstable_v2_types + 0 }, 47 { "set_tags", "uu", dwl_ipc_unstable_v2_types + 0 }, 48 { "set_client_tags", "uu", dwl_ipc_unstable_v2_types + 0 }, 49 { "set_layout", "u", dwl_ipc_unstable_v2_types + 0 }, 50 }; 51 52 static const struct wl_message zdwl_ipc_output_v2_events[] = { 53 { "toggle_visibility", "", dwl_ipc_unstable_v2_types + 0 }, 54 { "active", "u", dwl_ipc_unstable_v2_types + 0 }, 55 { "tag", "uuuu", dwl_ipc_unstable_v2_types + 0 }, 56 { "layout", "u", dwl_ipc_unstable_v2_types + 0 }, 57 { "title", "s", dwl_ipc_unstable_v2_types + 0 }, 58 { "appid", "s", dwl_ipc_unstable_v2_types + 0 }, 59 { "layout_symbol", "s", dwl_ipc_unstable_v2_types + 0 }, 60 { "frame", "", dwl_ipc_unstable_v2_types + 0 }, 61 { "fullscreen", "2u", dwl_ipc_unstable_v2_types + 0 }, 62 { "floating", "2u", dwl_ipc_unstable_v2_types + 0 }, 63 }; 64 65 WL_PRIVATE const struct wl_interface zdwl_ipc_output_v2_interface = { 66 "zdwl_ipc_output_v2", 2, 67 4, zdwl_ipc_output_v2_requests, 68 10, zdwl_ipc_output_v2_events, 69 }; 70