X11 backend: fix window behavior with multiple show() calls
[platform/upstream/libwlmessage.git] / toytoolkit / workspaces-protocol.c
1 #include <stdlib.h>
2 #include <stdint.h>
3 #include "wayland-util.h"
4
5 extern const struct wl_interface wl_surface_interface;
6
7 static const struct wl_interface *types[] = {
8         NULL,
9         NULL,
10         &wl_surface_interface,
11         NULL,
12 };
13
14 static const struct wl_message workspace_manager_requests[] = {
15         { "move_surface", "ou", types + 2 },
16 };
17
18 static const struct wl_message workspace_manager_events[] = {
19         { "state", "uu", types + 0 },
20 };
21
22 WL_EXPORT const struct wl_interface workspace_manager_interface = {
23         "workspace_manager", 1,
24         1, workspace_manager_requests,
25         1, workspace_manager_events,
26 };
27