Codebase list wlroots / ca45f44
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
129 changed file(s) with 137 addition(s) and 146 deletion(s). Raw diff Collapse all Expand all
44 #include <stdlib.h>
55 #include <string.h>
66 #include <unistd.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <wlr/backend/drm.h>
99 #include <wlr/backend/headless.h>
1010 #include <wlr/backend/interface.h>
33 #include <stdlib.h>
44 #include <string.h>
55 #include <unistd.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77 #include <wlr/backend/interface.h>
88 #include <wlr/backend/session.h>
99 #include <wlr/interfaces/wlr_output.h>
1111 #include <string.h>
1212 #include <strings.h>
1313 #include <time.h>
14 #include <wayland-server.h>
14 #include <wayland-server-core.h>
1515 #include <wayland-util.h>
1616 #include <wlr/backend/interface.h>
1717 #include <wlr/interfaces/wlr_output.h>
00 #include <stdlib.h>
1 #include <wayland-server.h>
1 #include <wayland-server-core.h>
22 #include <wlr/types/wlr_input_device.h>
33 #include <wlr/types/wlr_keyboard.h>
44 #include <wlr/interfaces/wlr_keyboard.h>
11 #include <EGL/egl.h>
22 #include <EGL/eglext.h>
33 #include <stdlib.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/types/wlr_output.h>
66 #include <wlr/interfaces/wlr_output.h>
77 #include <wlr/util/log.h>
00 #define _POSIX_C_SOURCE 200809L
11 #include <stdlib.h>
22 #include <string.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_input_device.h>
55 #include <wlr/types/wlr_pointer.h>
66 #include <wlr/interfaces/wlr_pointer.h>
1212 #include <sys/types.h>
1313 #include <termios.h>
1414 #include <unistd.h>
15 #include <wayland-server.h>
15 #include <wayland-server-core.h>
1616 #include <wlr/backend/session/interface.h>
1717 #include <wlr/util/log.h>
1818 #include <xf86drm.h>
1313 #include <sys/stat.h>
1414 #include <sys/sysmacros.h>
1515 #include <unistd.h>
16 #include <wayland-server.h>
16 #include <wayland-server-core.h>
1717 #include <wlr/backend/session/interface.h>
1818 #include <wlr/util/log.h>
1919 #include "backend/session/direct-ipc.h"
88 #include <sys/stat.h>
99 #include <sys/sysmacros.h>
1010 #include <unistd.h>
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/backend/session/interface.h>
1313 #include <wlr/config.h>
1414 #include <wlr/util/log.h>
22 #include <stdbool.h>
33 #include <stdlib.h>
44 #include <unistd.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/backend/session/interface.h>
77 #include <wlr/util/log.h>
88 #include "util/signal.h"
55 #include <string.h>
66 #include <sys/stat.h>
77 #include <sys/types.h>
8 #include <wayland-server.h>
8 #include <wayland-server-core.h>
99 #include <wlr/backend/session.h>
1010 #include <wlr/backend/session/interface.h>
1111 #include <wlr/config.h>
44
55 #include <wlr/config.h>
66
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88
99 #include <wlr/backend/interface.h>
1010 #include <wlr/interfaces/wlr_input_device.h>
99 #include <wlr/config.h>
1010
1111 #include <X11/Xlib-xcb.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <xcb/xcb.h>
1414 #include <xcb/xfixes.h>
1515 #include <xcb/xinput.h>
44 #include <stdlib.h>
55 #include <time.h>
66 #include <unistd.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <wlr/backend.h>
99 #include <wlr/render/wlr_renderer.h>
1010 #include <wlr/types/wlr_compositor.h>
66 #include <string.h>
77 #include <time.h>
88 #include <unistd.h>
9 #include <wayland-server-protocol.h>
10 #include <wayland-server.h>
9 #include <wayland-server-core.h>
1110 #include <wlr/backend.h>
1211 #include <wlr/backend/session.h>
1312 #include <wlr/render/gles2.h>
77 #include <strings.h>
88 #include <time.h>
99 #include <unistd.h>
10 #include <wayland-server-protocol.h>
11 #include <wayland-server.h>
10 #include <wayland-server-core.h>
1211 #include <wlr/backend.h>
1312 #include <wlr/backend/session.h>
1413 #include <wlr/render/wlr_renderer.h>
55 #include <string.h>
66 #include <time.h>
77 #include <unistd.h>
8 #include <wayland-server-protocol.h>
9 #include <wayland-server.h>
8 #include <wayland-server-core.h>
109 #include <wlr/backend.h>
1110 #include <wlr/backend/session.h>
1211 #include <wlr/render/gles2.h>
77 #include <strings.h>
88 #include <time.h>
99 #include <unistd.h>
10 #include <wayland-server-protocol.h>
11 #include <wayland-server.h>
10 #include <wayland-server-core.h>
1211 #include <wlr/backend.h>
1312 #include <wlr/backend/session.h>
1413 #include <wlr/render/wlr_renderer.h>
44 #include <stdlib.h>
55 #include <string.h>
66 #include <time.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <wlr/backend.h>
99 #include <wlr/backend/session.h>
1010 #include <wlr/types/wlr_output.h>
55 #include <string.h>
66 #include <time.h>
77 #include <unistd.h>
8 #include <wayland-server-protocol.h>
9 #include <wayland-server.h>
8 #include <wayland-server-core.h>
109 #include <wlr/backend.h>
1110 #include <wlr/backend/session.h>
1211 #include <wlr/render/wlr_renderer.h>
66 #include <string.h>
77 #include <time.h>
88 #include <unistd.h>
9 #include <wayland-server-protocol.h>
10 #include <wayland-server.h>
9 #include <wayland-server-core.h>
1110 #include <wlr/backend.h>
1211 #include <wlr/backend/session.h>
1312 #include <wlr/types/wlr_output.h>
66 #include <stddef.h>
77 #include <stdint.h>
88 #include <time.h>
9 #include <wayland-server.h>
9 #include <wayland-server-core.h>
1010 #include <wayland-util.h>
1111 #include <wlr/backend/drm.h>
1212 #include <wlr/backend/session.h>
44
55 #include <wayland-client.h>
66 #include <wayland-egl.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <wayland-util.h>
99
1010 #include <wlr/backend/wayland.h>
33 #include <stdbool.h>
44
55 #include <X11/Xlib-xcb.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77 #include <xcb/xcb.h>
88
99 #include <wlr/backend/x11.h>
00 #ifndef ROOTSTON_DESKTOP_H
11 #define ROOTSTON_DESKTOP_H
22 #include <time.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/config.h>
55 #include <wlr/types/wlr_compositor.h>
66 #include <wlr/types/wlr_foreign_toplevel_management_v1.h>
00 #ifndef ROOTSTON_INPUT_H
11 #define ROOTSTON_INPUT_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_cursor.h>
55 #include <wlr/types/wlr_input_device.h>
66 #include <wlr/types/wlr_seat.h>
11 #define ROOTSTON_OUTPUT_H
22 #include <pixman.h>
33 #include <time.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/types/wlr_box.h>
66 #include <wlr/types/wlr_output_damage.h>
77
00 #ifndef ROOTSTON_SEAT_H
11 #define ROOTSTON_SEAT_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include "rootston/input.h"
55 #include "rootston/keyboard.h"
66 #include "rootston/layers.h"
00 #ifndef _ROOTSTON_SERVER_H
11 #define _ROOTSTON_SERVER_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/backend.h>
55 #include <wlr/backend/session.h>
66 #include <wlr/config.h>
00 #ifndef TYPES_WLR_DATA_DEVICE_H
11 #define TYPES_WLR_DATA_DEVICE_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44
55 #define DATA_DEVICE_ALL_ACTIONS (WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY | \
66 WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE | \
00 #ifndef TYPES_WLR_SEAT_H
11 #define TYPES_WLR_SEAT_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_seat.h>
55
66 const struct wlr_pointer_grab_interface default_pointer_grab_impl;
11 #define TYPES_WLR_TABLET_V2_H
22
33 #include "tablet-unstable-v2-protocol.h"
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/types/wlr_tablet_v2.h>
66
77 struct wlr_tablet_seat_v2 {
00 #ifndef TYPES_WLR_XDG_SHELL_H
11 #define TYPES_WLR_XDG_SHELL_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_xdg_shell.h>
55 #include "xdg-shell-protocol.h"
66
00 #ifndef TYPES_WLR_XDG_SHELL_V6_H
11 #define TYPES_WLR_XDG_SHELL_V6_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_xdg_shell_v6.h>
55 #include "xdg-shell-unstable-v6-protocol.h"
66
00 #ifndef UTIL_SIGNAL_H
11 #define UTIL_SIGNAL_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44
55 void wlr_signal_emit_safe(struct wl_signal *signal, void *data);
66
88 #ifndef WLR_BACKEND_DRM_H
99 #define WLR_BACKEND_DRM_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/backend.h>
1313 #include <wlr/backend/session.h>
1414 #include <wlr/types/wlr_output.h>
99 #define WLR_BACKEND_LIBINPUT_H
1010
1111 #include <libinput.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/backend.h>
1414 #include <wlr/backend/session.h>
1515 #include <wlr/types/wlr_input_device.h>
33 #include <libudev.h>
44 #include <stdbool.h>
55 #include <sys/types.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77
88 struct session_impl;
99
11 #define WLR_BACKEND_WAYLAND_H
22 #include <stdbool.h>
33 #include <wayland-client.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/backend.h>
66 #include <wlr/types/wlr_input_device.h>
77 #include <wlr/types/wlr_output.h>
22
33 #include <stdbool.h>
44
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66
77 #include <wlr/backend.h>
88 #include <wlr/types/wlr_input_device.h>
88 #ifndef WLR_BACKEND_H
99 #define WLR_BACKEND_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/backend/session.h>
1313 #include <wlr/render/egl.h>
1414
1818 #include <EGL/eglext.h>
1919 #include <pixman.h>
2020 #include <stdbool.h>
21 #include <wayland-server.h>
21 #include <wayland-server-core.h>
2222 #include <wlr/render/dmabuf.h>
2323 #include <wlr/render/drm_format_set.h>
2424
1010
1111 #include <pixman.h>
1212 #include <stdbool.h>
13 #include <wayland-server.h>
13 #include <wayland-server-protocol.h>
1414
1515 struct wlr_box {
1616 int x, y;
99 #define WLR_TYPES_WLR_BUFFER_H
1010
1111 #include <pixman.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/render/dmabuf.h>
1414
1515 /**
88 #ifndef WLR_TYPES_WLR_COMPOSITOR_H
99 #define WLR_TYPES_WLR_COMPOSITOR_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/render/wlr_renderer.h>
1313
1414 struct wlr_surface;
88 #ifndef WLR_TYPES_WLR_CURSOR_H
99 #define WLR_TYPES_WLR_CURSOR_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_box.h>
1313 #include <wlr/types/wlr_input_device.h>
1414 #include <wlr/types/wlr_output_layout.h>
88 #ifndef WLR_TYPES_WLR_DATA_CONTROL_V1_H
99 #define WLR_TYPES_WLR_DATA_CONTROL_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313
1414 struct wlr_data_control_manager_v1 {
88 #ifndef WLR_TYPES_WLR_DATA_DEVICE_H
99 #define WLR_TYPES_WLR_DATA_DEVICE_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313
1414 extern const struct wlr_pointer_grab_interface
99 #define WLR_TYPES_WLR_EXPORT_DMABUF_V1_H
1010
1111 #include <stdbool.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/render/dmabuf.h>
1414
1515 struct wlr_export_dmabuf_manager_v1 {
88 #ifndef WLR_TYPES_WLR_FOREIGN_TOPLEVEL_MANAGEMENT_V1_H
99 #define WLR_TYPES_WLR_FOREIGN_TOPLEVEL_MANAGEMENT_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_output.h>
1313
1414 struct wlr_foreign_toplevel_manager_v1 {
88 #ifndef WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
99 #define WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include "fullscreen-shell-unstable-v1-protocol.h"
1313
1414 struct wlr_fullscreen_shell_v1 {
00 #ifndef WLR_TYPES_WLR_GAMMA_CONTROL_V1_H
11 #define WLR_TYPES_WLR_GAMMA_CONTROL_V1_H
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44
55 struct wlr_gamma_control_manager_v1 {
66 struct wl_global *global;
1313 #ifndef WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H
1414 #define WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H
1515
16 #include <wayland-server.h>
16 #include <wayland-server-core.h>
1717 #include <wlr/types/wlr_seat.h>
1818
1919 /**
88 #ifndef WLR_TYPES_WLR_IDLE_H
99 #define WLR_TYPES_WLR_IDLE_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313
1414 /**
88 #ifndef WLR_TYPES_WLR_IDLE_INHIBIT_V1_H
99 #define WLR_TYPES_WLR_IDLE_INHIBIT_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212
1313 /* This interface permits clients to inhibit the idle behavior such as
1414 * screenblanking, locking, and screensaving.
77
88 #ifndef WLR_TYPES_INPUT_INHIBITOR_H
99 #define WLR_TYPES_INPUT_INHIBITOR_H
10 #include <wayland-server.h>
10 #include <wayland-server-core.h>
1111
1212 struct wlr_input_inhibit_manager {
1313 struct wl_global *global;
99 #define WLR_TYPES_WLR_INPUT_METHOD_V2_H
1010 #include <stdint.h>
1111 #include <stdlib.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_seat.h>
1414
1515 struct wlr_input_method_v2_preedit_string {
1010
1111 #include <stdbool.h>
1212 #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>
1515 #include <xkbcommon/xkbcommon.h>
1616
1717 #define WLR_LED_COUNT 3
99 #define WLR_TYPES_WLR_LAYER_SHELL_V1_H
1010 #include <stdbool.h>
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_box.h>
1414 #include <wlr/types/wlr_surface.h>
1515 #include "wlr-layer-shell-unstable-v1-protocol.h"
1616 #ifndef WLR_TYPES_WLR_MATRIX_H
1717 #define WLR_TYPES_WLR_MATRIX_H
1818
19 #include <wayland-server.h>
19 #include <wayland-server-core.h>
2020 #include <wlr/types/wlr_box.h>
2121
2222 /** Writes the identity matrix into mat */
1111 #include <pixman.h>
1212 #include <stdbool.h>
1313 #include <time.h>
14 #include <wayland-server.h>
14 #include <wayland-server-protocol.h>
1515 #include <wayland-util.h>
1616 #include <wlr/render/dmabuf.h>
1717 #include <wlr/types/wlr_buffer.h>
99 #define WLR_TYPES_WLR_OUTPUT_MANAGEMENT_V1_H
1010
1111 #include <stdbool.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_output.h>
1414
1515 struct wlr_output_manager_v1 {
99 #define WLR_TYPES_WLR_POINTER_H
1010
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_input_device.h>
1414
1515 struct wlr_pointer_impl;
99 #define WLR_TYPES_WLR_POINTER_CONSTRAINTS_V1_H
1010
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <pixman.h>
1414 #include <wlr/types/wlr_box.h>
1515 #include <wlr/types/wlr_seat.h>
88 #ifndef WLR_TYPES_WLR_POINTER_GESTURES_V1_H
99 #define WLR_TYPES_WLR_POINTER_GESTURES_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313 #include <wlr/types/wlr_surface.h>
1414
1111 #include <stdbool.h>
1212 #include <stddef.h>
1313 #include <time.h>
14 #include <wayland-server.h>
14 #include <wayland-server-core.h>
1515
1616 struct wlr_presentation {
1717 struct wl_global *global;
88 #ifndef WLR_TYPES_WLR_PRIMARY_SELECTION_H
99 #define WLR_TYPES_WLR_PRIMARY_SELECTION_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313
1414 struct wlr_primary_selection_source;
88 #ifndef WLR_TYPES_WLR_PRIMARY_SELECTION_V1_H
99 #define WLR_TYPES_WLR_PRIMARY_SELECTION_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313
1414 struct wlr_primary_selection_v1_device_manager {
88 #ifndef WLR_TYPES_WLR_RELATIVE_POINTER_V1_H
99 #define WLR_TYPES_WLR_RELATIVE_POINTER_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212
1313 /**
1414 * This protocol specifies a set of interfaces used for making clients able to
99 #define WLR_TYPES_WLR_SCREENCOPY_V1_H
1010
1111 #include <stdbool.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_box.h>
1414
1515 struct wlr_screencopy_manager_v1 {
99 #define WLR_TYPES_WLR_SEAT_H
1010
1111 #include <time.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_input_device.h>
1414 #include <wlr/types/wlr_keyboard.h>
1515 #include <wlr/types/wlr_surface.h>
1313 #ifndef WLR_TYPES_WLR_SERVER_DECORATION_H
1414 #define WLR_TYPES_WLR_SERVER_DECORATION_H
1515
16 #include <wayland-server.h>
16 #include <wayland-server-core.h>
1717
1818 /**
1919 * Possible values to use in request_mode and the event mode. Same as
1212 #include <stdbool.h>
1313 #include <stdint.h>
1414 #include <time.h>
15 #include <wayland-server.h>
15 #include <wayland-server-core.h>
1616 #include <wlr/types/wlr_output.h>
1717
1818 enum wlr_surface_state_field {
99 #define WLR_TYPES_WLR_SWITCH_H
1010
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_input_device.h>
1414 #include <wlr/types/wlr_list.h>
1515
99 #define WLR_TYPES_WLR_TABLET_PAD_H
1010
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_input_device.h>
1414 #include <wlr/types/wlr_list.h>
1515
99 #define WLR_TYPES_TABLET_TOOL_H
1010
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/types/wlr_input_device.h>
1414 #include <wlr/types/wlr_list.h>
1515
4444 struct {
4545 struct wl_signal destroy;
4646 } events;
47
47
4848 void *data;
4949 };
5050
88 #ifndef WLR_TYPES_WLR_TABLET_V2_H
99 #define WLR_TYPES_WLR_TABLET_V2_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313 #include <wlr/types/wlr_input_device.h>
1414
88 #ifndef WLR_TYPES_WLR_TEXT_INPUT_V3_H
99 #define WLR_TYPES_WLR_TEXT_INPUT_V3_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_seat.h>
1313 #include <wlr/types/wlr_surface.h>
1414
99 #define WLR_TYPES_WLR_TOUCH_H
1010
1111 #include <stdint.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313
1414 struct wlr_touch_impl;
1515
88 #ifndef WLR_TYPES_WLR_VIRTUAL_KEYBOARD_V1_H
99 #define WLR_TYPES_WLR_VIRTUAL_KEYBOARD_V1_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/interfaces/wlr_input_device.h>
1313 #include <wlr/interfaces/wlr_keyboard.h>
1414
88 #ifndef WLR_TYPES_WLR_XCURSOR_MANAGER_H
99 #define WLR_TYPES_WLR_XCURSOR_MANAGER_H
1010
11 #include <wayland-server.h>
11 #include <wayland-server-core.h>
1212 #include <wlr/types/wlr_cursor.h>
1313 #include <wlr/xcursor.h>
1414
00 #ifndef WLR_TYPES_WLR_XDG_DECORATION_V1
11 #define WLR_TYPES_WLR_XDG_DECORATION_V1
22
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_xdg_shell.h>
55
66 enum wlr_xdg_toplevel_decoration_v1_mode {
77
88 #ifndef WLR_TYPES_WLR_XDG_OUTPUT_V1_H
99 #define WLR_TYPES_WLR_XDG_OUTPUT_V1_H
10 #include <wayland-server.h>
10 #include <wayland-server-core.h>
1111 #include <wlr/types/wlr_output_layout.h>
1212
1313 struct wlr_xdg_output_v1 {
99 #define WLR_TYPES_WLR_XDG_SHELL_H
1010 #include <wlr/types/wlr_box.h>
1111 #include <wlr/types/wlr_seat.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include "xdg-shell-protocol.h"
1414
1515 struct wlr_xdg_shell {
1313 #ifndef WLR_TYPES_WLR_XDG_SHELL_V6_H
1414 #define WLR_TYPES_WLR_XDG_SHELL_V6_H
1515
16 #include <wayland-server.h>
16 #include <wayland-server-core.h>
1717 #include <wlr/types/wlr_box.h>
1818 #include <wlr/types/wlr_seat.h>
1919 #include "xdg-shell-unstable-v6-protocol.h"
1818
1919 #include <stdbool.h>
2020 #include <pixman.h>
21 #include <wayland-server.h>
21 #include <wayland-server-protocol.h>
2222
2323 /**
2424 * Scales a region, ie. multiplies all its coordinates by `scale`.
9494 add_project_arguments('-Wno-missing-field-initializers', language: 'c')
9595 add_project_arguments('-Wno-missing-braces', language: 'c')
9696 endif
97
98 # Avoid wl_buffer deprecation warnings
99 add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c')
10097
10198 wayland_server = dependency('wayland-server', version: '>=1.16')
10299 wayland_client = dependency('wayland-client')
11 #include <assert.h>
22 #include <stdlib.h>
33 #include <time.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/backend/libinput.h>
66 #include <wlr/config.h>
77 #include <wlr/types/wlr_cursor.h>
11 #include <stdbool.h>
22 #include <stdint.h>
33 #include <stdlib.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/backend/session.h>
66 #include <wlr/types/wlr_input_device.h>
77 #include <wlr/types/wlr_pointer_constraints_v1.h>
66 #include <stdlib.h>
77 #include <string.h>
88 #include <time.h>
9 #include <wayland-server.h>
9 #include <wayland-server-core.h>
1010 #include <wlr/types/wlr_box.h>
1111 #include <wlr/types/wlr_surface.h>
1212 #include <wlr/types/wlr_layer_shell_v1.h>
11 #include <assert.h>
22 #include <stdlib.h>
33 #include <unistd.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/backend.h>
66 #include <wlr/backend/headless.h>
77 #include <wlr/backend/multi.h>
33 #include <stdlib.h>
44 #include <string.h>
55 #include <time.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77 #include <wlr/backend/libinput.h>
88 #include <wlr/config.h>
99 #include <wlr/types/wlr_data_device.h>
00 #include <assert.h>
11 #include <stdbool.h>
22 #include <stdlib.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_box.h>
55 #include <wlr/types/wlr_surface.h>
66 #include <wlr/types/wlr_xdg_shell.h>
00 #include <assert.h>
11 #include <stdbool.h>
22 #include <stdlib.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_box.h>
55 #include <wlr/types/wlr_surface.h>
66 #include <wlr/types/wlr_xdg_shell_v6.h>
00 #include <assert.h>
11 #include <stdbool.h>
22 #include <stdlib.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/config.h>
55 #include <wlr/types/wlr_box.h>
66 #include <wlr/types/wlr_surface.h>
44 #include <stdio.h>
55 #include <time.h>
66 #include <unistd.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <wlr/backend.h>
99 #include <wlr/render/wlr_renderer.h>
1010 #include <wlr/types/wlr_cursor.h>
22 #include <string.h>
33 #include <strings.h>
44 #include <unistd.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_data_device.h>
77 #include <wlr/types/wlr_seat.h>
88 #include <wlr/util/log.h>
22 #include <stdlib.h>
33 #include <strings.h>
44 #include <unistd.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_data_device.h>
77 #include <wlr/types/wlr_seat.h>
88 #include <wlr/util/log.h>
33 #include <string.h>
44 #include <strings.h>
55 #include <unistd.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77 #include <wlr/types/wlr_data_device.h>
88 #include <wlr/types/wlr_seat.h>
99 #include <wlr/util/log.h>
22 #include <string.h>
33 #include <strings.h>
44 #include <unistd.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_data_device.h>
77 #include <wlr/types/wlr_seat.h>
88 #include <wlr/util/log.h>
22 #include <stdlib.h>
33 #include <string.h>
44 #include <time.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_data_device.h>
77 #include <wlr/types/wlr_input_device.h>
88 #include <wlr/types/wlr_primary_selection.h>
44 #include <sys/mman.h>
55 #include <time.h>
66 #include <unistd.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <wlr/types/wlr_data_device.h>
99 #include <wlr/types/wlr_gtk_primary_selection.h>
1010 #include <wlr/types/wlr_input_device.h>
22 #include <stdlib.h>
33 #include <string.h>
44 #include <time.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_input_device.h>
77 #include <wlr/util/log.h>
88 #include "types/wlr_seat.h"
22 #include <stdlib.h>
33 #include <string.h>
44 #include <time.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_input_device.h>
77 #include <wlr/util/log.h>
88 #include "types/wlr_seat.h"
44 #include <assert.h>
55 #include <stdlib.h>
66 #include <string.h>
7 #include <wayland-server.h>
7 #include <wayland-server-core.h>
88 #include <types/wlr_tablet_v2.h>
99 #include <wlr/config.h>
1010 #include <wlr/types/wlr_seat.h>
00 #include <assert.h>
11 #include <stdlib.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/types/wlr_compositor.h>
44 #include <wlr/types/wlr_region.h>
55 #include <wlr/types/wlr_surface.h>
11 #include <limits.h>
22 #include <math.h>
33 #include <stdlib.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/types/wlr_cursor.h>
66 #include <wlr/types/wlr_input_device.h>
77 #include <wlr/types/wlr_output_layout.h>
11 #include <fcntl.h>
22 #include <stdlib.h>
33 #include <unistd.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/interfaces/wlr_output.h>
66 #include <wlr/types/wlr_gamma_control_v1.h>
77 #include <wlr/types/wlr_output.h>
00 #include <assert.h>
11 #include <stdlib.h>
22 #include <string.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_idle.h>
55 #include <wlr/util/log.h>
66 #include "idle-protocol.h"
00 #include <assert.h>
11 #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>
27 #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"
88 #include "idle-inhibit-unstable-v1-protocol.h"
99
1010 static const struct zwp_idle_inhibit_manager_v1_interface idle_inhibit_impl;
00 #define _POSIX_C_SOURCE 200809L
11 #include <stdlib.h>
22 #include <string.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/interfaces/wlr_input_device.h>
55 #include <wlr/interfaces/wlr_keyboard.h>
66 #include <wlr/interfaces/wlr_pointer.h>
00 #include <assert.h>
11 #include <stdbool.h>
22 #include <stdlib.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include "wlr/types/wlr_input_inhibitor.h"
55 #include "wlr-input-inhibitor-unstable-v1-protocol.h"
66 #include "util/signal.h"
11 #include <assert.h>
22 #include <stdlib.h>
33 #include <string.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/interfaces/wlr_keyboard.h>
66 #include <wlr/types/wlr_keyboard.h>
77 #include <wlr/util/log.h>
11 #include <assert.h>
22 #include <stdlib.h>
33 #include <string.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/types/wlr_layer_shell_v1.h>
66 #include <wlr/types/wlr_output.h>
77 #include <wlr/types/wlr_surface.h>
22 #include <drm_fourcc.h>
33 #include <stdlib.h>
44 #include <unistd.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/render/drm_format_set.h>
77 #include <wlr/render/wlr_renderer.h>
88 #include <wlr/types/wlr_linux_dmabuf_v1.h>
33 #include <string.h>
44 #include <tgmath.h>
55 #include <time.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77 #include <wlr/interfaces/wlr_output.h>
88 #include <wlr/render/interface.h>
99 #include <wlr/render/wlr_renderer.h>
00 #include <stddef.h>
11 #include <stdlib.h>
22 #include <time.h>
3 #include <wayland-server.h>
3 #include <wayland-server-core.h>
44 #include <wlr/types/wlr_box.h>
55 #include <wlr/types/wlr_output_damage.h>
66 #include <wlr/types/wlr_output.h>
00 #include <stdlib.h>
11 #include <string.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/interfaces/wlr_pointer.h>
44 #include <wlr/types/wlr_pointer.h>
55
22 #include <pixman.h>
33 #include <stdbool.h>
44 #include <stdlib.h>
5 #include <wayland-server.h>
5 #include <wayland-server-core.h>
66 #include <wlr/types/wlr_box.h>
77 #include <wlr/types/wlr_pointer_constraints_v1.h>
88 #include <wlr/types/wlr_region.h>
33
44 #include <assert.h>
55 #include <stdlib.h>
6 #include <wayland-server.h>
6 #include <wayland-server-core.h>
77 #include <wlr/types/wlr_pointer.h>
88 #include <wlr/types/wlr_pointer_gestures_v1.h>
99 #include <wlr/util/log.h>
11 #include <pixman.h>
22 #include <stdio.h>
33 #include <stdlib.h>
4 #include <wayland-server.h>
4 #include <wayland-server-core.h>
55 #include <wlr/types/wlr_region.h>
66
77 static void region_add(struct wl_client *client, struct wl_resource *resource,
0 #include <stdlib.h>
10 #include <assert.h>
21 #include <inttypes.h>
3 #include <wlr/util/log.h>
2 #include <stdlib.h>
43 #include <util/signal.h>
4 #include <wayland-server-core.h>
5 #include <wayland-util.h>
56 #include <wlr/types/wlr_relative_pointer_v1.h>
67 #include <wlr/types/wlr_seat.h>
7 #include "wayland-util.h"
8 #include "wayland-server.h"
8 #include <wlr/util/log.h>
99 #include "relative-pointer-unstable-v1-protocol.h"
1010
1111 #define RELATIVE_POINTER_MANAGER_VERSION 1
00 #include <assert.h>
11 #include <stdlib.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/render/interface.h>
44 #include <wlr/types/wlr_buffer.h>
55 #include <wlr/types/wlr_compositor.h>
00 #include <stdlib.h>
11 #include <string.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/interfaces/wlr_switch.h>
44 #include <wlr/types/wlr_switch.h>
55
00 #include <stdlib.h>
11 #include <string.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/interfaces/wlr_tablet_pad.h>
44 #include <wlr/types/wlr_tablet_pad.h>
55
00 #include <stdlib.h>
11 #include <string.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/interfaces/wlr_tablet_tool.h>
44 #include <wlr/types/wlr_tablet_tool.h>
55
00 #include <stdlib.h>
11 #include <string.h>
2 #include <wayland-server.h>
2 #include <wayland-server-core.h>
33 #include <wlr/interfaces/wlr_touch.h>
44 #include <wlr/types/wlr_touch.h>
55
55 #include <string.h>
66 #include <time.h>
77 #include <unistd.h>
8 #include <wayland-server.h>
8 #include <wayland-server-core.h>
99 #include <wlr/util/log.h>
1010
1111 static bool colored = true;
99 #include <sys/wait.h>
1010 #include <time.h>
1111 #include <unistd.h>
12 #include <wayland-server.h>
12 #include <wayland-server-core.h>
1313 #include <wlr/util/log.h>
1414 #include <wlr/xwayland.h>
1515 #include "sockets.h"