summaryrefslogtreecommitdiffstats
path: root/src/qt-compositor/hardware_integration/xcomposite_share/wayland-xcomposite-protocol.c
blob: 1662ec82337d1ee80cb0ffeda45250c78f9c6438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"

extern const struct wl_interface wl_buffer_interface;

static const struct wl_interface *types[] = {
	NULL,
	NULL,
	&wl_buffer_interface,
	NULL,
	NULL,
	NULL,
};

static const struct wl_message wl_xcomposite_requests[] = {
	{ "create_buffer", "nuii", types + 2 },
};

static const struct wl_message wl_xcomposite_events[] = {
	{ "root", "su", types + 0 },
};

WL_EXPORT const struct wl_interface wl_xcomposite_interface = {
	"wl_xcomposite", 1,
	ARRAY_LENGTH(wl_xcomposite_requests), wl_xcomposite_requests,
	ARRAY_LENGTH(wl_xcomposite_events), wl_xcomposite_events,
};