summaryrefslogtreecommitdiffstats
path: root/src/qt-compositor/hardware_integration/xcomposite_share/wayland-xcomposite-server-protocol.h
blob: dfbb24ddeb73aa91f6009664f03778027a1c5ef9 (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
30
31
32
33
34
#ifndef XCOMPOSITE_SERVER_PROTOCOL_H
#define XCOMPOSITE_SERVER_PROTOCOL_H

#ifdef  __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stddef.h>
#include "wayland-util.h"

struct wl_client;
struct wl_resource;

struct wl_xcomposite;

extern const struct wl_interface wl_xcomposite_interface;

struct wl_xcomposite_interface {
	void (*create_buffer)(struct wl_client *client,
			      struct wl_resource *resource,
			      uint32_t id,
			      uint32_t x_window,
			      int32_t width,
			      int32_t height);
};

#define WL_XCOMPOSITE_ROOT	0

#ifdef  __cplusplus
}
#endif

#endif