Remove all wayland-server.h includes
The documentation for wayland-server.h says:
> Use of this header file is discouraged. Prefer including
> wayland-server-core.h instead, which does not include the server protocol
> header and as such only defines the library PI, excluding the deprecated API
> below.
Replacing wayland-server.h with wayland-server-core.h allows us to drop the
WL_HIDE_DEPRECATED declaration.
Simon Ser authored 4 years ago
Drew DeVault committed 4 years ago
4 | 4 |
#include <stdlib.h>
|
5 | 5 |
#include <string.h>
|
6 | 6 |
#include <unistd.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <wlr/backend/drm.h>
|
9 | 9 |
#include <wlr/backend/headless.h>
|
10 | 10 |
#include <wlr/backend/interface.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | 4 |
#include <string.h>
|
5 | 5 |
#include <unistd.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
#include <wlr/backend/interface.h>
|
8 | 8 |
#include <wlr/backend/session.h>
|
9 | 9 |
#include <wlr/interfaces/wlr_output.h>
|
11 | 11 |
#include <string.h>
|
12 | 12 |
#include <strings.h>
|
13 | 13 |
#include <time.h>
|
14 | |
#include <wayland-server.h>
|
|
14 |
#include <wayland-server-core.h>
|
15 | 15 |
#include <wayland-util.h>
|
16 | 16 |
#include <wlr/backend/interface.h>
|
17 | 17 |
#include <wlr/interfaces/wlr_output.h>
|
0 | 0 |
#include <stdlib.h>
|
1 | |
#include <wayland-server.h>
|
|
1 |
#include <wayland-server-core.h>
|
2 | 2 |
#include <wlr/types/wlr_input_device.h>
|
3 | 3 |
#include <wlr/types/wlr_keyboard.h>
|
4 | 4 |
#include <wlr/interfaces/wlr_keyboard.h>
|
1 | 1 |
#include <EGL/egl.h>
|
2 | 2 |
#include <EGL/eglext.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/types/wlr_output.h>
|
6 | 6 |
#include <wlr/interfaces/wlr_output.h>
|
7 | 7 |
#include <wlr/util/log.h>
|
0 | 0 |
#define _POSIX_C_SOURCE 200809L
|
1 | 1 |
#include <stdlib.h>
|
2 | 2 |
#include <string.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_input_device.h>
|
5 | 5 |
#include <wlr/types/wlr_pointer.h>
|
6 | 6 |
#include <wlr/interfaces/wlr_pointer.h>
|
12 | 12 |
#include <sys/types.h>
|
13 | 13 |
#include <termios.h>
|
14 | 14 |
#include <unistd.h>
|
15 | |
#include <wayland-server.h>
|
|
15 |
#include <wayland-server-core.h>
|
16 | 16 |
#include <wlr/backend/session/interface.h>
|
17 | 17 |
#include <wlr/util/log.h>
|
18 | 18 |
#include <xf86drm.h>
|
13 | 13 |
#include <sys/stat.h>
|
14 | 14 |
#include <sys/sysmacros.h>
|
15 | 15 |
#include <unistd.h>
|
16 | |
#include <wayland-server.h>
|
|
16 |
#include <wayland-server-core.h>
|
17 | 17 |
#include <wlr/backend/session/interface.h>
|
18 | 18 |
#include <wlr/util/log.h>
|
19 | 19 |
#include "backend/session/direct-ipc.h"
|
8 | 8 |
#include <sys/stat.h>
|
9 | 9 |
#include <sys/sysmacros.h>
|
10 | 10 |
#include <unistd.h>
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/backend/session/interface.h>
|
13 | 13 |
#include <wlr/config.h>
|
14 | 14 |
#include <wlr/util/log.h>
|
2 | 2 |
#include <stdbool.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | 4 |
#include <unistd.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/backend/session/interface.h>
|
7 | 7 |
#include <wlr/util/log.h>
|
8 | 8 |
#include "util/signal.h"
|
5 | 5 |
#include <string.h>
|
6 | 6 |
#include <sys/stat.h>
|
7 | 7 |
#include <sys/types.h>
|
8 | |
#include <wayland-server.h>
|
|
8 |
#include <wayland-server-core.h>
|
9 | 9 |
#include <wlr/backend/session.h>
|
10 | 10 |
#include <wlr/backend/session/interface.h>
|
11 | 11 |
#include <wlr/config.h>
|
4 | 4 |
|
5 | 5 |
#include <wlr/config.h>
|
6 | 6 |
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
|
9 | 9 |
#include <wlr/backend/interface.h>
|
10 | 10 |
#include <wlr/interfaces/wlr_input_device.h>
|
9 | 9 |
#include <wlr/config.h>
|
10 | 10 |
|
11 | 11 |
#include <X11/Xlib-xcb.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <xcb/xcb.h>
|
14 | 14 |
#include <xcb/xfixes.h>
|
15 | 15 |
#include <xcb/xinput.h>
|
4 | 4 |
#include <stdlib.h>
|
5 | 5 |
#include <time.h>
|
6 | 6 |
#include <unistd.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <wlr/backend.h>
|
9 | 9 |
#include <wlr/render/wlr_renderer.h>
|
10 | 10 |
#include <wlr/types/wlr_compositor.h>
|
6 | 6 |
#include <string.h>
|
7 | 7 |
#include <time.h>
|
8 | 8 |
#include <unistd.h>
|
9 | |
#include <wayland-server-protocol.h>
|
10 | |
#include <wayland-server.h>
|
|
9 |
#include <wayland-server-core.h>
|
11 | 10 |
#include <wlr/backend.h>
|
12 | 11 |
#include <wlr/backend/session.h>
|
13 | 12 |
#include <wlr/render/gles2.h>
|
7 | 7 |
#include <strings.h>
|
8 | 8 |
#include <time.h>
|
9 | 9 |
#include <unistd.h>
|
10 | |
#include <wayland-server-protocol.h>
|
11 | |
#include <wayland-server.h>
|
|
10 |
#include <wayland-server-core.h>
|
12 | 11 |
#include <wlr/backend.h>
|
13 | 12 |
#include <wlr/backend/session.h>
|
14 | 13 |
#include <wlr/render/wlr_renderer.h>
|
5 | 5 |
#include <string.h>
|
6 | 6 |
#include <time.h>
|
7 | 7 |
#include <unistd.h>
|
8 | |
#include <wayland-server-protocol.h>
|
9 | |
#include <wayland-server.h>
|
|
8 |
#include <wayland-server-core.h>
|
10 | 9 |
#include <wlr/backend.h>
|
11 | 10 |
#include <wlr/backend/session.h>
|
12 | 11 |
#include <wlr/render/gles2.h>
|
7 | 7 |
#include <strings.h>
|
8 | 8 |
#include <time.h>
|
9 | 9 |
#include <unistd.h>
|
10 | |
#include <wayland-server-protocol.h>
|
11 | |
#include <wayland-server.h>
|
|
10 |
#include <wayland-server-core.h>
|
12 | 11 |
#include <wlr/backend.h>
|
13 | 12 |
#include <wlr/backend/session.h>
|
14 | 13 |
#include <wlr/render/wlr_renderer.h>
|
4 | 4 |
#include <stdlib.h>
|
5 | 5 |
#include <string.h>
|
6 | 6 |
#include <time.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <wlr/backend.h>
|
9 | 9 |
#include <wlr/backend/session.h>
|
10 | 10 |
#include <wlr/types/wlr_output.h>
|
5 | 5 |
#include <string.h>
|
6 | 6 |
#include <time.h>
|
7 | 7 |
#include <unistd.h>
|
8 | |
#include <wayland-server-protocol.h>
|
9 | |
#include <wayland-server.h>
|
|
8 |
#include <wayland-server-core.h>
|
10 | 9 |
#include <wlr/backend.h>
|
11 | 10 |
#include <wlr/backend/session.h>
|
12 | 11 |
#include <wlr/render/wlr_renderer.h>
|
6 | 6 |
#include <string.h>
|
7 | 7 |
#include <time.h>
|
8 | 8 |
#include <unistd.h>
|
9 | |
#include <wayland-server-protocol.h>
|
10 | |
#include <wayland-server.h>
|
|
9 |
#include <wayland-server-core.h>
|
11 | 10 |
#include <wlr/backend.h>
|
12 | 11 |
#include <wlr/backend/session.h>
|
13 | 12 |
#include <wlr/types/wlr_output.h>
|
6 | 6 |
#include <stddef.h>
|
7 | 7 |
#include <stdint.h>
|
8 | 8 |
#include <time.h>
|
9 | |
#include <wayland-server.h>
|
|
9 |
#include <wayland-server-core.h>
|
10 | 10 |
#include <wayland-util.h>
|
11 | 11 |
#include <wlr/backend/drm.h>
|
12 | 12 |
#include <wlr/backend/session.h>
|
4 | 4 |
|
5 | 5 |
#include <wayland-client.h>
|
6 | 6 |
#include <wayland-egl.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <wayland-util.h>
|
9 | 9 |
|
10 | 10 |
#include <wlr/backend/wayland.h>
|
3 | 3 |
#include <stdbool.h>
|
4 | 4 |
|
5 | 5 |
#include <X11/Xlib-xcb.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
#include <xcb/xcb.h>
|
8 | 8 |
|
9 | 9 |
#include <wlr/backend/x11.h>
|
0 | 0 |
#ifndef ROOTSTON_DESKTOP_H
|
1 | 1 |
#define ROOTSTON_DESKTOP_H
|
2 | 2 |
#include <time.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/config.h>
|
5 | 5 |
#include <wlr/types/wlr_compositor.h>
|
6 | 6 |
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
|
0 | 0 |
#ifndef ROOTSTON_INPUT_H
|
1 | 1 |
#define ROOTSTON_INPUT_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_cursor.h>
|
5 | 5 |
#include <wlr/types/wlr_input_device.h>
|
6 | 6 |
#include <wlr/types/wlr_seat.h>
|
1 | 1 |
#define ROOTSTON_OUTPUT_H
|
2 | 2 |
#include <pixman.h>
|
3 | 3 |
#include <time.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/types/wlr_box.h>
|
6 | 6 |
#include <wlr/types/wlr_output_damage.h>
|
7 | 7 |
|
0 | 0 |
#ifndef ROOTSTON_SEAT_H
|
1 | 1 |
#define ROOTSTON_SEAT_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include "rootston/input.h"
|
5 | 5 |
#include "rootston/keyboard.h"
|
6 | 6 |
#include "rootston/layers.h"
|
0 | 0 |
#ifndef _ROOTSTON_SERVER_H
|
1 | 1 |
#define _ROOTSTON_SERVER_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/backend.h>
|
5 | 5 |
#include <wlr/backend/session.h>
|
6 | 6 |
#include <wlr/config.h>
|
0 | 0 |
#ifndef TYPES_WLR_DATA_DEVICE_H
|
1 | 1 |
#define TYPES_WLR_DATA_DEVICE_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
|
5 | 5 |
#define DATA_DEVICE_ALL_ACTIONS (WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY | \
|
6 | 6 |
WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE | \
|
0 | 0 |
#ifndef TYPES_WLR_SEAT_H
|
1 | 1 |
#define TYPES_WLR_SEAT_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_seat.h>
|
5 | 5 |
|
6 | 6 |
const struct wlr_pointer_grab_interface default_pointer_grab_impl;
|
1 | 1 |
#define TYPES_WLR_TABLET_V2_H
|
2 | 2 |
|
3 | 3 |
#include "tablet-unstable-v2-protocol.h"
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/types/wlr_tablet_v2.h>
|
6 | 6 |
|
7 | 7 |
struct wlr_tablet_seat_v2 {
|
0 | 0 |
#ifndef TYPES_WLR_XDG_SHELL_H
|
1 | 1 |
#define TYPES_WLR_XDG_SHELL_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_xdg_shell.h>
|
5 | 5 |
#include "xdg-shell-protocol.h"
|
6 | 6 |
|
0 | 0 |
#ifndef TYPES_WLR_XDG_SHELL_V6_H
|
1 | 1 |
#define TYPES_WLR_XDG_SHELL_V6_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_xdg_shell_v6.h>
|
5 | 5 |
#include "xdg-shell-unstable-v6-protocol.h"
|
6 | 6 |
|
0 | 0 |
#ifndef UTIL_SIGNAL_H
|
1 | 1 |
#define UTIL_SIGNAL_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
|
5 | 5 |
void wlr_signal_emit_safe(struct wl_signal *signal, void *data);
|
6 | 6 |
|
8 | 8 |
#ifndef WLR_BACKEND_DRM_H
|
9 | 9 |
#define WLR_BACKEND_DRM_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/backend.h>
|
13 | 13 |
#include <wlr/backend/session.h>
|
14 | 14 |
#include <wlr/types/wlr_output.h>
|
9 | 9 |
#define WLR_BACKEND_LIBINPUT_H
|
10 | 10 |
|
11 | 11 |
#include <libinput.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/backend.h>
|
14 | 14 |
#include <wlr/backend/session.h>
|
15 | 15 |
#include <wlr/types/wlr_input_device.h>
|
3 | 3 |
#include <libudev.h>
|
4 | 4 |
#include <stdbool.h>
|
5 | 5 |
#include <sys/types.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
|
8 | 8 |
struct session_impl;
|
9 | 9 |
|
1 | 1 |
#define WLR_BACKEND_WAYLAND_H
|
2 | 2 |
#include <stdbool.h>
|
3 | 3 |
#include <wayland-client.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/backend.h>
|
6 | 6 |
#include <wlr/types/wlr_input_device.h>
|
7 | 7 |
#include <wlr/types/wlr_output.h>
|
2 | 2 |
|
3 | 3 |
#include <stdbool.h>
|
4 | 4 |
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
|
7 | 7 |
#include <wlr/backend.h>
|
8 | 8 |
#include <wlr/types/wlr_input_device.h>
|
8 | 8 |
#ifndef WLR_BACKEND_H
|
9 | 9 |
#define WLR_BACKEND_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/backend/session.h>
|
13 | 13 |
#include <wlr/render/egl.h>
|
14 | 14 |
|
18 | 18 |
#include <EGL/eglext.h>
|
19 | 19 |
#include <pixman.h>
|
20 | 20 |
#include <stdbool.h>
|
21 | |
#include <wayland-server.h>
|
|
21 |
#include <wayland-server-core.h>
|
22 | 22 |
#include <wlr/render/dmabuf.h>
|
23 | 23 |
#include <wlr/render/drm_format_set.h>
|
24 | 24 |
|
10 | 10 |
|
11 | 11 |
#include <pixman.h>
|
12 | 12 |
#include <stdbool.h>
|
13 | |
#include <wayland-server.h>
|
|
13 |
#include <wayland-server-protocol.h>
|
14 | 14 |
|
15 | 15 |
struct wlr_box {
|
16 | 16 |
int x, y;
|
9 | 9 |
#define WLR_TYPES_WLR_BUFFER_H
|
10 | 10 |
|
11 | 11 |
#include <pixman.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/render/dmabuf.h>
|
14 | 14 |
|
15 | 15 |
/**
|
8 | 8 |
#ifndef WLR_TYPES_WLR_COMPOSITOR_H
|
9 | 9 |
#define WLR_TYPES_WLR_COMPOSITOR_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/render/wlr_renderer.h>
|
13 | 13 |
|
14 | 14 |
struct wlr_surface;
|
8 | 8 |
#ifndef WLR_TYPES_WLR_CURSOR_H
|
9 | 9 |
#define WLR_TYPES_WLR_CURSOR_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_box.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
#include <wlr/types/wlr_output_layout.h>
|
8 | 8 |
#ifndef WLR_TYPES_WLR_DATA_CONTROL_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_DATA_CONTROL_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
|
14 | 14 |
struct wlr_data_control_manager_v1 {
|
8 | 8 |
#ifndef WLR_TYPES_WLR_DATA_DEVICE_H
|
9 | 9 |
#define WLR_TYPES_WLR_DATA_DEVICE_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
|
14 | 14 |
extern const struct wlr_pointer_grab_interface
|
9 | 9 |
#define WLR_TYPES_WLR_EXPORT_DMABUF_V1_H
|
10 | 10 |
|
11 | 11 |
#include <stdbool.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/render/dmabuf.h>
|
14 | 14 |
|
15 | 15 |
struct wlr_export_dmabuf_manager_v1 {
|
8 | 8 |
#ifndef WLR_TYPES_WLR_FOREIGN_TOPLEVEL_MANAGEMENT_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_FOREIGN_TOPLEVEL_MANAGEMENT_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_output.h>
|
13 | 13 |
|
14 | 14 |
struct wlr_foreign_toplevel_manager_v1 {
|
8 | 8 |
#ifndef WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include "fullscreen-shell-unstable-v1-protocol.h"
|
13 | 13 |
|
14 | 14 |
struct wlr_fullscreen_shell_v1 {
|
0 | 0 |
#ifndef WLR_TYPES_WLR_GAMMA_CONTROL_V1_H
|
1 | 1 |
#define WLR_TYPES_WLR_GAMMA_CONTROL_V1_H
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
|
5 | 5 |
struct wlr_gamma_control_manager_v1 {
|
6 | 6 |
struct wl_global *global;
|
13 | 13 |
#ifndef WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H
|
14 | 14 |
#define WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H
|
15 | 15 |
|
16 | |
#include <wayland-server.h>
|
|
16 |
#include <wayland-server-core.h>
|
17 | 17 |
#include <wlr/types/wlr_seat.h>
|
18 | 18 |
|
19 | 19 |
/**
|
8 | 8 |
#ifndef WLR_TYPES_WLR_IDLE_H
|
9 | 9 |
#define WLR_TYPES_WLR_IDLE_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
|
14 | 14 |
/**
|
8 | 8 |
#ifndef WLR_TYPES_WLR_IDLE_INHIBIT_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_IDLE_INHIBIT_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
|
13 | 13 |
/* This interface permits clients to inhibit the idle behavior such as
|
14 | 14 |
* screenblanking, locking, and screensaving.
|
7 | 7 |
|
8 | 8 |
#ifndef WLR_TYPES_INPUT_INHIBITOR_H
|
9 | 9 |
#define WLR_TYPES_INPUT_INHIBITOR_H
|
10 | |
#include <wayland-server.h>
|
|
10 |
#include <wayland-server-core.h>
|
11 | 11 |
|
12 | 12 |
struct wlr_input_inhibit_manager {
|
13 | 13 |
struct wl_global *global;
|
9 | 9 |
#define WLR_TYPES_WLR_INPUT_METHOD_V2_H
|
10 | 10 |
#include <stdint.h>
|
11 | 11 |
#include <stdlib.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_seat.h>
|
14 | 14 |
|
15 | 15 |
struct wlr_input_method_v2_preedit_string {
|
10 | 10 |
|
11 | 11 |
#include <stdbool.h>
|
12 | 12 |
#include <stdint.h>
|
13 | |
#include <wayland-server.h>
|
14 | |
#include <wayland-server.h>
|
|
13 |
#include <wayland-server-core.h>
|
|
14 |
#include <wayland-server-core.h>
|
15 | 15 |
#include <xkbcommon/xkbcommon.h>
|
16 | 16 |
|
17 | 17 |
#define WLR_LED_COUNT 3
|
9 | 9 |
#define WLR_TYPES_WLR_LAYER_SHELL_V1_H
|
10 | 10 |
#include <stdbool.h>
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_box.h>
|
14 | 14 |
#include <wlr/types/wlr_surface.h>
|
15 | 15 |
#include "wlr-layer-shell-unstable-v1-protocol.h"
|
16 | 16 |
#ifndef WLR_TYPES_WLR_MATRIX_H
|
17 | 17 |
#define WLR_TYPES_WLR_MATRIX_H
|
18 | 18 |
|
19 | |
#include <wayland-server.h>
|
|
19 |
#include <wayland-server-core.h>
|
20 | 20 |
#include <wlr/types/wlr_box.h>
|
21 | 21 |
|
22 | 22 |
/** Writes the identity matrix into mat */
|
11 | 11 |
#include <pixman.h>
|
12 | 12 |
#include <stdbool.h>
|
13 | 13 |
#include <time.h>
|
14 | |
#include <wayland-server.h>
|
|
14 |
#include <wayland-server-protocol.h>
|
15 | 15 |
#include <wayland-util.h>
|
16 | 16 |
#include <wlr/render/dmabuf.h>
|
17 | 17 |
#include <wlr/types/wlr_buffer.h>
|
9 | 9 |
#define WLR_TYPES_WLR_OUTPUT_MANAGEMENT_V1_H
|
10 | 10 |
|
11 | 11 |
#include <stdbool.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_output.h>
|
14 | 14 |
|
15 | 15 |
struct wlr_output_manager_v1 {
|
9 | 9 |
#define WLR_TYPES_WLR_POINTER_H
|
10 | 10 |
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
|
15 | 15 |
struct wlr_pointer_impl;
|
9 | 9 |
#define WLR_TYPES_WLR_POINTER_CONSTRAINTS_V1_H
|
10 | 10 |
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <pixman.h>
|
14 | 14 |
#include <wlr/types/wlr_box.h>
|
15 | 15 |
#include <wlr/types/wlr_seat.h>
|
8 | 8 |
#ifndef WLR_TYPES_WLR_POINTER_GESTURES_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_POINTER_GESTURES_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
#include <wlr/types/wlr_surface.h>
|
14 | 14 |
|
11 | 11 |
#include <stdbool.h>
|
12 | 12 |
#include <stddef.h>
|
13 | 13 |
#include <time.h>
|
14 | |
#include <wayland-server.h>
|
|
14 |
#include <wayland-server-core.h>
|
15 | 15 |
|
16 | 16 |
struct wlr_presentation {
|
17 | 17 |
struct wl_global *global;
|
8 | 8 |
#ifndef WLR_TYPES_WLR_PRIMARY_SELECTION_H
|
9 | 9 |
#define WLR_TYPES_WLR_PRIMARY_SELECTION_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
|
14 | 14 |
struct wlr_primary_selection_source;
|
8 | 8 |
#ifndef WLR_TYPES_WLR_PRIMARY_SELECTION_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_PRIMARY_SELECTION_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
|
14 | 14 |
struct wlr_primary_selection_v1_device_manager {
|
8 | 8 |
#ifndef WLR_TYPES_WLR_RELATIVE_POINTER_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_RELATIVE_POINTER_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
|
13 | 13 |
/**
|
14 | 14 |
* This protocol specifies a set of interfaces used for making clients able to
|
9 | 9 |
#define WLR_TYPES_WLR_SCREENCOPY_V1_H
|
10 | 10 |
|
11 | 11 |
#include <stdbool.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_box.h>
|
14 | 14 |
|
15 | 15 |
struct wlr_screencopy_manager_v1 {
|
9 | 9 |
#define WLR_TYPES_WLR_SEAT_H
|
10 | 10 |
|
11 | 11 |
#include <time.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
#include <wlr/types/wlr_keyboard.h>
|
15 | 15 |
#include <wlr/types/wlr_surface.h>
|
13 | 13 |
#ifndef WLR_TYPES_WLR_SERVER_DECORATION_H
|
14 | 14 |
#define WLR_TYPES_WLR_SERVER_DECORATION_H
|
15 | 15 |
|
16 | |
#include <wayland-server.h>
|
|
16 |
#include <wayland-server-core.h>
|
17 | 17 |
|
18 | 18 |
/**
|
19 | 19 |
* Possible values to use in request_mode and the event mode. Same as
|
12 | 12 |
#include <stdbool.h>
|
13 | 13 |
#include <stdint.h>
|
14 | 14 |
#include <time.h>
|
15 | |
#include <wayland-server.h>
|
|
15 |
#include <wayland-server-core.h>
|
16 | 16 |
#include <wlr/types/wlr_output.h>
|
17 | 17 |
|
18 | 18 |
enum wlr_surface_state_field {
|
9 | 9 |
#define WLR_TYPES_WLR_SWITCH_H
|
10 | 10 |
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
#include <wlr/types/wlr_list.h>
|
15 | 15 |
|
9 | 9 |
#define WLR_TYPES_WLR_TABLET_PAD_H
|
10 | 10 |
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
#include <wlr/types/wlr_list.h>
|
15 | 15 |
|
9 | 9 |
#define WLR_TYPES_TABLET_TOOL_H
|
10 | 10 |
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
#include <wlr/types/wlr_list.h>
|
15 | 15 |
|
|
44 | 44 |
struct {
|
45 | 45 |
struct wl_signal destroy;
|
46 | 46 |
} events;
|
47 | |
|
|
47 |
|
48 | 48 |
void *data;
|
49 | 49 |
};
|
50 | 50 |
|
8 | 8 |
#ifndef WLR_TYPES_WLR_TABLET_V2_H
|
9 | 9 |
#define WLR_TYPES_WLR_TABLET_V2_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
#include <wlr/types/wlr_input_device.h>
|
14 | 14 |
|
8 | 8 |
#ifndef WLR_TYPES_WLR_TEXT_INPUT_V3_H
|
9 | 9 |
#define WLR_TYPES_WLR_TEXT_INPUT_V3_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_seat.h>
|
13 | 13 |
#include <wlr/types/wlr_surface.h>
|
14 | 14 |
|
9 | 9 |
#define WLR_TYPES_WLR_TOUCH_H
|
10 | 10 |
|
11 | 11 |
#include <stdint.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
|
14 | 14 |
struct wlr_touch_impl;
|
15 | 15 |
|
8 | 8 |
#ifndef WLR_TYPES_WLR_VIRTUAL_KEYBOARD_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_VIRTUAL_KEYBOARD_V1_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/interfaces/wlr_input_device.h>
|
13 | 13 |
#include <wlr/interfaces/wlr_keyboard.h>
|
14 | 14 |
|
8 | 8 |
#ifndef WLR_TYPES_WLR_XCURSOR_MANAGER_H
|
9 | 9 |
#define WLR_TYPES_WLR_XCURSOR_MANAGER_H
|
10 | 10 |
|
11 | |
#include <wayland-server.h>
|
|
11 |
#include <wayland-server-core.h>
|
12 | 12 |
#include <wlr/types/wlr_cursor.h>
|
13 | 13 |
#include <wlr/xcursor.h>
|
14 | 14 |
|
0 | 0 |
#ifndef WLR_TYPES_WLR_XDG_DECORATION_V1
|
1 | 1 |
#define WLR_TYPES_WLR_XDG_DECORATION_V1
|
2 | 2 |
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_xdg_shell.h>
|
5 | 5 |
|
6 | 6 |
enum wlr_xdg_toplevel_decoration_v1_mode {
|
7 | 7 |
|
8 | 8 |
#ifndef WLR_TYPES_WLR_XDG_OUTPUT_V1_H
|
9 | 9 |
#define WLR_TYPES_WLR_XDG_OUTPUT_V1_H
|
10 | |
#include <wayland-server.h>
|
|
10 |
#include <wayland-server-core.h>
|
11 | 11 |
#include <wlr/types/wlr_output_layout.h>
|
12 | 12 |
|
13 | 13 |
struct wlr_xdg_output_v1 {
|
9 | 9 |
#define WLR_TYPES_WLR_XDG_SHELL_H
|
10 | 10 |
#include <wlr/types/wlr_box.h>
|
11 | 11 |
#include <wlr/types/wlr_seat.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include "xdg-shell-protocol.h"
|
14 | 14 |
|
15 | 15 |
struct wlr_xdg_shell {
|
13 | 13 |
#ifndef WLR_TYPES_WLR_XDG_SHELL_V6_H
|
14 | 14 |
#define WLR_TYPES_WLR_XDG_SHELL_V6_H
|
15 | 15 |
|
16 | |
#include <wayland-server.h>
|
|
16 |
#include <wayland-server-core.h>
|
17 | 17 |
#include <wlr/types/wlr_box.h>
|
18 | 18 |
#include <wlr/types/wlr_seat.h>
|
19 | 19 |
#include "xdg-shell-unstable-v6-protocol.h"
|
18 | 18 |
|
19 | 19 |
#include <stdbool.h>
|
20 | 20 |
#include <pixman.h>
|
21 | |
#include <wayland-server.h>
|
|
21 |
#include <wayland-server-protocol.h>
|
22 | 22 |
|
23 | 23 |
/**
|
24 | 24 |
* Scales a region, ie. multiplies all its coordinates by `scale`.
|
94 | 94 |
add_project_arguments('-Wno-missing-field-initializers', language: 'c')
|
95 | 95 |
add_project_arguments('-Wno-missing-braces', language: 'c')
|
96 | 96 |
endif
|
97 | |
|
98 | |
# Avoid wl_buffer deprecation warnings
|
99 | |
add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c')
|
100 | 97 |
|
101 | 98 |
wayland_server = dependency('wayland-server', version: '>=1.16')
|
102 | 99 |
wayland_client = dependency('wayland-client')
|
1 | 1 |
#include <assert.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <time.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/backend/libinput.h>
|
6 | 6 |
#include <wlr/config.h>
|
7 | 7 |
#include <wlr/types/wlr_cursor.h>
|
1 | 1 |
#include <stdbool.h>
|
2 | 2 |
#include <stdint.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/backend/session.h>
|
6 | 6 |
#include <wlr/types/wlr_input_device.h>
|
7 | 7 |
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
6 | 6 |
#include <stdlib.h>
|
7 | 7 |
#include <string.h>
|
8 | 8 |
#include <time.h>
|
9 | |
#include <wayland-server.h>
|
|
9 |
#include <wayland-server-core.h>
|
10 | 10 |
#include <wlr/types/wlr_box.h>
|
11 | 11 |
#include <wlr/types/wlr_surface.h>
|
12 | 12 |
#include <wlr/types/wlr_layer_shell_v1.h>
|
1 | 1 |
#include <assert.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <unistd.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/backend.h>
|
6 | 6 |
#include <wlr/backend/headless.h>
|
7 | 7 |
#include <wlr/backend/multi.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | 4 |
#include <string.h>
|
5 | 5 |
#include <time.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
#include <wlr/backend/libinput.h>
|
8 | 8 |
#include <wlr/config.h>
|
9 | 9 |
#include <wlr/types/wlr_data_device.h>
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdbool.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_box.h>
|
5 | 5 |
#include <wlr/types/wlr_surface.h>
|
6 | 6 |
#include <wlr/types/wlr_xdg_shell.h>
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdbool.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_box.h>
|
5 | 5 |
#include <wlr/types/wlr_surface.h>
|
6 | 6 |
#include <wlr/types/wlr_xdg_shell_v6.h>
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdbool.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/config.h>
|
5 | 5 |
#include <wlr/types/wlr_box.h>
|
6 | 6 |
#include <wlr/types/wlr_surface.h>
|
4 | 4 |
#include <stdio.h>
|
5 | 5 |
#include <time.h>
|
6 | 6 |
#include <unistd.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <wlr/backend.h>
|
9 | 9 |
#include <wlr/render/wlr_renderer.h>
|
10 | 10 |
#include <wlr/types/wlr_cursor.h>
|
2 | 2 |
#include <string.h>
|
3 | 3 |
#include <strings.h>
|
4 | 4 |
#include <unistd.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_data_device.h>
|
7 | 7 |
#include <wlr/types/wlr_seat.h>
|
8 | 8 |
#include <wlr/util/log.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <strings.h>
|
4 | 4 |
#include <unistd.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_data_device.h>
|
7 | 7 |
#include <wlr/types/wlr_seat.h>
|
8 | 8 |
#include <wlr/util/log.h>
|
3 | 3 |
#include <string.h>
|
4 | 4 |
#include <strings.h>
|
5 | 5 |
#include <unistd.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
#include <wlr/types/wlr_data_device.h>
|
8 | 8 |
#include <wlr/types/wlr_seat.h>
|
9 | 9 |
#include <wlr/util/log.h>
|
2 | 2 |
#include <string.h>
|
3 | 3 |
#include <strings.h>
|
4 | 4 |
#include <unistd.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_data_device.h>
|
7 | 7 |
#include <wlr/types/wlr_seat.h>
|
8 | 8 |
#include <wlr/util/log.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <string.h>
|
4 | 4 |
#include <time.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_data_device.h>
|
7 | 7 |
#include <wlr/types/wlr_input_device.h>
|
8 | 8 |
#include <wlr/types/wlr_primary_selection.h>
|
4 | 4 |
#include <sys/mman.h>
|
5 | 5 |
#include <time.h>
|
6 | 6 |
#include <unistd.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <wlr/types/wlr_data_device.h>
|
9 | 9 |
#include <wlr/types/wlr_gtk_primary_selection.h>
|
10 | 10 |
#include <wlr/types/wlr_input_device.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <string.h>
|
4 | 4 |
#include <time.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_input_device.h>
|
7 | 7 |
#include <wlr/util/log.h>
|
8 | 8 |
#include "types/wlr_seat.h"
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <string.h>
|
4 | 4 |
#include <time.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_input_device.h>
|
7 | 7 |
#include <wlr/util/log.h>
|
8 | 8 |
#include "types/wlr_seat.h"
|
4 | 4 |
#include <assert.h>
|
5 | 5 |
#include <stdlib.h>
|
6 | 6 |
#include <string.h>
|
7 | |
#include <wayland-server.h>
|
|
7 |
#include <wayland-server-core.h>
|
8 | 8 |
#include <types/wlr_tablet_v2.h>
|
9 | 9 |
#include <wlr/config.h>
|
10 | 10 |
#include <wlr/types/wlr_seat.h>
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdlib.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/types/wlr_compositor.h>
|
4 | 4 |
#include <wlr/types/wlr_region.h>
|
5 | 5 |
#include <wlr/types/wlr_surface.h>
|
1 | 1 |
#include <limits.h>
|
2 | 2 |
#include <math.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/types/wlr_cursor.h>
|
6 | 6 |
#include <wlr/types/wlr_input_device.h>
|
7 | 7 |
#include <wlr/types/wlr_output_layout.h>
|
1 | 1 |
#include <fcntl.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <unistd.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/interfaces/wlr_output.h>
|
6 | 6 |
#include <wlr/types/wlr_gamma_control_v1.h>
|
7 | 7 |
#include <wlr/types/wlr_output.h>
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdlib.h>
|
2 | 2 |
#include <string.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_idle.h>
|
5 | 5 |
#include <wlr/util/log.h>
|
6 | 6 |
#include "idle-protocol.h"
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdlib.h>
|
|
2 |
#include <util/signal.h>
|
|
3 |
#include <wayland-server-core.h>
|
|
4 |
#include <wayland-util.h>
|
|
5 |
#include <wlr/types/wlr_idle_inhibit_v1.h>
|
|
6 |
#include <wlr/types/wlr_surface.h>
|
2 | 7 |
#include <wlr/util/log.h>
|
3 | |
#include <util/signal.h>
|
4 | |
#include <wlr/types/wlr_surface.h>
|
5 | |
#include <wlr/types/wlr_idle_inhibit_v1.h>
|
6 | |
#include "wayland-util.h"
|
7 | |
#include "wayland-server.h"
|
8 | 8 |
#include "idle-inhibit-unstable-v1-protocol.h"
|
9 | 9 |
|
10 | 10 |
static const struct zwp_idle_inhibit_manager_v1_interface idle_inhibit_impl;
|
0 | 0 |
#define _POSIX_C_SOURCE 200809L
|
1 | 1 |
#include <stdlib.h>
|
2 | 2 |
#include <string.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/interfaces/wlr_input_device.h>
|
5 | 5 |
#include <wlr/interfaces/wlr_keyboard.h>
|
6 | 6 |
#include <wlr/interfaces/wlr_pointer.h>
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdbool.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include "wlr/types/wlr_input_inhibitor.h"
|
5 | 5 |
#include "wlr-input-inhibitor-unstable-v1-protocol.h"
|
6 | 6 |
#include "util/signal.h"
|
1 | 1 |
#include <assert.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <string.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/interfaces/wlr_keyboard.h>
|
6 | 6 |
#include <wlr/types/wlr_keyboard.h>
|
7 | 7 |
#include <wlr/util/log.h>
|
1 | 1 |
#include <assert.h>
|
2 | 2 |
#include <stdlib.h>
|
3 | 3 |
#include <string.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/types/wlr_layer_shell_v1.h>
|
6 | 6 |
#include <wlr/types/wlr_output.h>
|
7 | 7 |
#include <wlr/types/wlr_surface.h>
|
2 | 2 |
#include <drm_fourcc.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | 4 |
#include <unistd.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/render/drm_format_set.h>
|
7 | 7 |
#include <wlr/render/wlr_renderer.h>
|
8 | 8 |
#include <wlr/types/wlr_linux_dmabuf_v1.h>
|
3 | 3 |
#include <string.h>
|
4 | 4 |
#include <tgmath.h>
|
5 | 5 |
#include <time.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
#include <wlr/interfaces/wlr_output.h>
|
8 | 8 |
#include <wlr/render/interface.h>
|
9 | 9 |
#include <wlr/render/wlr_renderer.h>
|
0 | 0 |
#include <stddef.h>
|
1 | 1 |
#include <stdlib.h>
|
2 | 2 |
#include <time.h>
|
3 | |
#include <wayland-server.h>
|
|
3 |
#include <wayland-server-core.h>
|
4 | 4 |
#include <wlr/types/wlr_box.h>
|
5 | 5 |
#include <wlr/types/wlr_output_damage.h>
|
6 | 6 |
#include <wlr/types/wlr_output.h>
|
0 | 0 |
#include <stdlib.h>
|
1 | 1 |
#include <string.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/interfaces/wlr_pointer.h>
|
4 | 4 |
#include <wlr/types/wlr_pointer.h>
|
5 | 5 |
|
2 | 2 |
#include <pixman.h>
|
3 | 3 |
#include <stdbool.h>
|
4 | 4 |
#include <stdlib.h>
|
5 | |
#include <wayland-server.h>
|
|
5 |
#include <wayland-server-core.h>
|
6 | 6 |
#include <wlr/types/wlr_box.h>
|
7 | 7 |
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
8 | 8 |
#include <wlr/types/wlr_region.h>
|
3 | 3 |
|
4 | 4 |
#include <assert.h>
|
5 | 5 |
#include <stdlib.h>
|
6 | |
#include <wayland-server.h>
|
|
6 |
#include <wayland-server-core.h>
|
7 | 7 |
#include <wlr/types/wlr_pointer.h>
|
8 | 8 |
#include <wlr/types/wlr_pointer_gestures_v1.h>
|
9 | 9 |
#include <wlr/util/log.h>
|
1 | 1 |
#include <pixman.h>
|
2 | 2 |
#include <stdio.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | |
#include <wayland-server.h>
|
|
4 |
#include <wayland-server-core.h>
|
5 | 5 |
#include <wlr/types/wlr_region.h>
|
6 | 6 |
|
7 | 7 |
static void region_add(struct wl_client *client, struct wl_resource *resource,
|
0 | |
#include <stdlib.h>
|
1 | 0 |
#include <assert.h>
|
2 | 1 |
#include <inttypes.h>
|
3 | |
#include <wlr/util/log.h>
|
|
2 |
#include <stdlib.h>
|
4 | 3 |
#include <util/signal.h>
|
|
4 |
#include <wayland-server-core.h>
|
|
5 |
#include <wayland-util.h>
|
5 | 6 |
#include <wlr/types/wlr_relative_pointer_v1.h>
|
6 | 7 |
#include <wlr/types/wlr_seat.h>
|
7 | |
#include "wayland-util.h"
|
8 | |
#include "wayland-server.h"
|
|
8 |
#include <wlr/util/log.h>
|
9 | 9 |
#include "relative-pointer-unstable-v1-protocol.h"
|
10 | 10 |
|
11 | 11 |
#define RELATIVE_POINTER_MANAGER_VERSION 1
|
0 | 0 |
#include <assert.h>
|
1 | 1 |
#include <stdlib.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/render/interface.h>
|
4 | 4 |
#include <wlr/types/wlr_buffer.h>
|
5 | 5 |
#include <wlr/types/wlr_compositor.h>
|
0 | 0 |
#include <stdlib.h>
|
1 | 1 |
#include <string.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/interfaces/wlr_switch.h>
|
4 | 4 |
#include <wlr/types/wlr_switch.h>
|
5 | 5 |
|
0 | 0 |
#include <stdlib.h>
|
1 | 1 |
#include <string.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/interfaces/wlr_tablet_pad.h>
|
4 | 4 |
#include <wlr/types/wlr_tablet_pad.h>
|
5 | 5 |
|
0 | 0 |
#include <stdlib.h>
|
1 | 1 |
#include <string.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/interfaces/wlr_tablet_tool.h>
|
4 | 4 |
#include <wlr/types/wlr_tablet_tool.h>
|
5 | 5 |
|
0 | 0 |
#include <stdlib.h>
|
1 | 1 |
#include <string.h>
|
2 | |
#include <wayland-server.h>
|
|
2 |
#include <wayland-server-core.h>
|
3 | 3 |
#include <wlr/interfaces/wlr_touch.h>
|
4 | 4 |
#include <wlr/types/wlr_touch.h>
|
5 | 5 |
|
5 | 5 |
#include <string.h>
|
6 | 6 |
#include <time.h>
|
7 | 7 |
#include <unistd.h>
|
8 | |
#include <wayland-server.h>
|
|
8 |
#include <wayland-server-core.h>
|
9 | 9 |
#include <wlr/util/log.h>
|
10 | 10 |
|
11 | 11 |
static bool colored = true;
|
9 | 9 |
#include <sys/wait.h>
|
10 | 10 |
#include <time.h>
|
11 | 11 |
#include <unistd.h>
|
12 | |
#include <wayland-server.h>
|
|
12 |
#include <wayland-server-core.h>
|
13 | 13 |
#include <wlr/util/log.h>
|
14 | 14 |
#include <wlr/xwayland.h>
|
15 | 15 |
#include "sockets.h"
|