diff --git a/backend/backend.c b/backend/backend.c index 2c76d9896b..542d6f80df 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 7fdab816b8..541e720fc0 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/drm/drm.c b/backend/drm/drm.c index db72701033..eef7beb5f2 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/rdp/keyboard.c b/backend/rdp/keyboard.c index b3c5869d23..78dd8b086a 100644 --- a/backend/rdp/keyboard.c +++ b/backend/rdp/keyboard.c @@ -1,5 +1,5 @@ #include -#include +#include #include #include #include diff --git a/backend/rdp/output.c b/backend/rdp/output.c index 6133b751f9..45eba3aa09 100644 --- a/backend/rdp/output.c +++ b/backend/rdp/output.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/rdp/pointer.c b/backend/rdp/pointer.c index 31186669fd..b3fdcd739c 100644 --- a/backend/rdp/pointer.c +++ b/backend/rdp/pointer.c @@ -1,7 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include #include -#include +#include #include #include #include diff --git a/backend/session/direct-freebsd.c b/backend/session/direct-freebsd.c index 391cc3fd02..238664ac5b 100644 --- a/backend/session/direct-freebsd.c +++ b/backend/session/direct-freebsd.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/session/direct.c b/backend/session/direct.c index c634575a79..4ffd711d79 100644 --- a/backend/session/direct.c +++ b/backend/session/direct.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include "backend/session/direct-ipc.h" diff --git a/backend/session/logind.c b/backend/session/logind.c index c7fb24c04e..066003d98c 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/session/noop.c b/backend/session/noop.c index 87ec12078d..0e13a1778c 100644 --- a/backend/session/noop.c +++ b/backend/session/noop.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include "util/signal.h" diff --git a/backend/session/session.c b/backend/session/session.c index 90fcfed661..70b4a567b4 100644 --- a/backend/session/session.c +++ b/backend/session/session.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 25feb6fb63..c2762c4a69 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -5,7 +5,7 @@ #include -#include +#include #include #include diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 6bece36d51..26c56cab9d 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/fullscreen-shell.c b/examples/fullscreen-shell.c index e9e64ce1c1..dbea9f0494 100644 --- a/examples/fullscreen-shell.c +++ b/examples/fullscreen-shell.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c index 44cf26d5dc..691bc49d27 100644 --- a/examples/multi-pointer.c +++ b/examples/multi-pointer.c @@ -7,8 +7,7 @@ #include #include #include -#include -#include +#include #include #include #include diff --git a/examples/output-layout.c b/examples/output-layout.c index 5e406af0bb..d18a83af52 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -8,8 +8,7 @@ #include #include #include -#include -#include +#include #include #include #include diff --git a/examples/pointer.c b/examples/pointer.c index cf4b122dd9..4b0e6f4648 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -6,8 +6,7 @@ #include #include #include -#include -#include +#include #include #include #include diff --git a/examples/rotation.c b/examples/rotation.c index cfcd001b62..6e10721d40 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -8,8 +8,7 @@ #include #include #include -#include -#include +#include #include #include #include diff --git a/examples/simple.c b/examples/simple.c index 27eb6c20cd..96f336103d 100644 --- a/examples/simple.c +++ b/examples/simple.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/tablet.c b/examples/tablet.c index 6df285863f..d437ff1703 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -6,8 +6,7 @@ #include #include #include -#include -#include +#include #include #include #include diff --git a/examples/touch.c b/examples/touch.c index 4ca9b99360..c306ba6950 100644 --- a/examples/touch.c +++ b/examples/touch.c @@ -7,8 +7,7 @@ #include #include #include -#include -#include +#include #include #include #include diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index bc1c2933b5..f007c9e03b 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 8f8e1ea6df..e25aba4313 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include diff --git a/include/backend/x11.h b/include/backend/x11.h index 2bc08b21e6..e628e4cbf1 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -4,7 +4,7 @@ #include #include -#include +#include #include #include diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 791f5a8b1c..d3d6ec1837 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -1,7 +1,7 @@ #ifndef ROOTSTON_DESKTOP_H #define ROOTSTON_DESKTOP_H #include -#include +#include #include #include #include diff --git a/include/rootston/input.h b/include/rootston/input.h index 31810b4ded..a799db594d 100644 --- a/include/rootston/input.h +++ b/include/rootston/input.h @@ -1,7 +1,7 @@ #ifndef ROOTSTON_INPUT_H #define ROOTSTON_INPUT_H -#include +#include #include #include #include diff --git a/include/rootston/output.h b/include/rootston/output.h index 6b02d69f14..257d93673c 100644 --- a/include/rootston/output.h +++ b/include/rootston/output.h @@ -2,7 +2,7 @@ #define ROOTSTON_OUTPUT_H #include #include -#include +#include #include #include diff --git a/include/rootston/seat.h b/include/rootston/seat.h index b91f9578ab..fa3a83ddf3 100644 --- a/include/rootston/seat.h +++ b/include/rootston/seat.h @@ -1,7 +1,7 @@ #ifndef ROOTSTON_SEAT_H #define ROOTSTON_SEAT_H -#include +#include #include "rootston/input.h" #include "rootston/keyboard.h" #include "rootston/layers.h" diff --git a/include/rootston/server.h b/include/rootston/server.h index 1836a37459..f48549f24d 100644 --- a/include/rootston/server.h +++ b/include/rootston/server.h @@ -1,7 +1,7 @@ #ifndef _ROOTSTON_SERVER_H #define _ROOTSTON_SERVER_H -#include +#include #include #include #include diff --git a/include/types/wlr_data_device.h b/include/types/wlr_data_device.h index 5865c9994d..07a08c2fe7 100644 --- a/include/types/wlr_data_device.h +++ b/include/types/wlr_data_device.h @@ -1,7 +1,7 @@ #ifndef TYPES_WLR_DATA_DEVICE_H #define TYPES_WLR_DATA_DEVICE_H -#include +#include #define DATA_DEVICE_ALL_ACTIONS (WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY | \ WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE | \ diff --git a/include/types/wlr_seat.h b/include/types/wlr_seat.h index 15f1dc387a..0ccb33455b 100644 --- a/include/types/wlr_seat.h +++ b/include/types/wlr_seat.h @@ -1,7 +1,7 @@ #ifndef TYPES_WLR_SEAT_H #define TYPES_WLR_SEAT_H -#include +#include #include const struct wlr_pointer_grab_interface default_pointer_grab_impl; diff --git a/include/types/wlr_tablet_v2.h b/include/types/wlr_tablet_v2.h index 334ea210b4..d2c4a21244 100644 --- a/include/types/wlr_tablet_v2.h +++ b/include/types/wlr_tablet_v2.h @@ -2,7 +2,7 @@ #define TYPES_WLR_TABLET_V2_H #include "tablet-unstable-v2-protocol.h" -#include +#include #include struct wlr_tablet_seat_v2 { diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 9305853054..2afd564e5d 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -1,7 +1,7 @@ #ifndef TYPES_WLR_XDG_SHELL_H #define TYPES_WLR_XDG_SHELL_H -#include +#include #include #include "xdg-shell-protocol.h" diff --git a/include/types/wlr_xdg_shell_v6.h b/include/types/wlr_xdg_shell_v6.h index 59fca66701..4c9d1fa0e7 100644 --- a/include/types/wlr_xdg_shell_v6.h +++ b/include/types/wlr_xdg_shell_v6.h @@ -1,7 +1,7 @@ #ifndef TYPES_WLR_XDG_SHELL_V6_H #define TYPES_WLR_XDG_SHELL_V6_H -#include +#include #include #include "xdg-shell-unstable-v6-protocol.h" diff --git a/include/util/signal.h b/include/util/signal.h index cc6cb525ba..fd93073aab 100644 --- a/include/util/signal.h +++ b/include/util/signal.h @@ -1,7 +1,7 @@ #ifndef UTIL_SIGNAL_H #define UTIL_SIGNAL_H -#include +#include void wlr_signal_emit_safe(struct wl_signal *signal, void *data); diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 54f2b5e8a8..3337e51c62 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -9,7 +9,7 @@ #ifndef WLR_BACKEND_H #define WLR_BACKEND_H -#include +#include #include #include diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h index 3724adfbf6..e4b5e2d1af 100644 --- a/include/wlr/backend/drm.h +++ b/include/wlr/backend/drm.h @@ -9,7 +9,7 @@ #ifndef WLR_BACKEND_DRM_H #define WLR_BACKEND_DRM_H -#include +#include #include #include #include diff --git a/include/wlr/backend/libinput.h b/include/wlr/backend/libinput.h index 1a2ab29415..50faaf7dc5 100644 --- a/include/wlr/backend/libinput.h +++ b/include/wlr/backend/libinput.h @@ -10,7 +10,7 @@ #define WLR_BACKEND_LIBINPUT_H #include -#include +#include #include #include #include diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h index 7b26f34c0e..36b80a8d66 100644 --- a/include/wlr/backend/session.h +++ b/include/wlr/backend/session.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include struct session_impl; diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h index 9a47d1ce34..cd8e73fbc3 100644 --- a/include/wlr/backend/wayland.h +++ b/include/wlr/backend/wayland.h @@ -2,7 +2,7 @@ #define WLR_BACKEND_WAYLAND_H #include #include -#include +#include #include #include #include diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h index 9be976b27c..5a6f050b35 100644 --- a/include/wlr/backend/x11.h +++ b/include/wlr/backend/x11.h @@ -3,7 +3,7 @@ #include -#include +#include #include #include diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index fb473ba8f2..915de5c0e4 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/wlr/types/wlr_box.h b/include/wlr/types/wlr_box.h index 40fd69bd3b..40585ab128 100644 --- a/include/wlr/types/wlr_box.h +++ b/include/wlr/types/wlr_box.h @@ -11,7 +11,7 @@ #include #include -#include +#include struct wlr_box { int x, y; diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 11b3659682..86f8bccbd9 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_BUFFER_H #include -#include +#include #include /** diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 36b9e83f6d..6aaea9c79c 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_COMPOSITOR_H #define WLR_TYPES_WLR_COMPOSITOR_H -#include +#include #include struct wlr_surface; diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h index 4c6b1202ca..58ce85058d 100644 --- a/include/wlr/types/wlr_cursor.h +++ b/include/wlr/types/wlr_cursor.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_CURSOR_H #define WLR_TYPES_WLR_CURSOR_H -#include +#include #include #include #include diff --git a/include/wlr/types/wlr_data_control_v1.h b/include/wlr/types/wlr_data_control_v1.h index 32d169b435..d487a7db2a 100644 --- a/include/wlr/types/wlr_data_control_v1.h +++ b/include/wlr/types/wlr_data_control_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_DATA_CONTROL_V1_H #define WLR_TYPES_WLR_DATA_CONTROL_V1_H -#include +#include #include struct wlr_data_control_manager_v1 { diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h index d8894d6ea8..c017e4284d 100644 --- a/include/wlr/types/wlr_data_device.h +++ b/include/wlr/types/wlr_data_device.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_DATA_DEVICE_H #define WLR_TYPES_WLR_DATA_DEVICE_H -#include +#include #include extern const struct wlr_pointer_grab_interface diff --git a/include/wlr/types/wlr_export_dmabuf_v1.h b/include/wlr/types/wlr_export_dmabuf_v1.h index 42c88e5c1a..5b3fbc2cbe 100644 --- a/include/wlr/types/wlr_export_dmabuf_v1.h +++ b/include/wlr/types/wlr_export_dmabuf_v1.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_EXPORT_DMABUF_V1_H #include -#include +#include #include struct wlr_export_dmabuf_manager_v1 { diff --git a/include/wlr/types/wlr_foreign_toplevel_management_v1.h b/include/wlr/types/wlr_foreign_toplevel_management_v1.h index 6b234eb92f..3adf2de5e8 100644 --- a/include/wlr/types/wlr_foreign_toplevel_management_v1.h +++ b/include/wlr/types/wlr_foreign_toplevel_management_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_FOREIGN_TOPLEVEL_MANAGEMENT_V1_H #define WLR_TYPES_WLR_FOREIGN_TOPLEVEL_MANAGEMENT_V1_H -#include +#include #include struct wlr_foreign_toplevel_manager_v1 { diff --git a/include/wlr/types/wlr_fullscreen_shell_v1.h b/include/wlr/types/wlr_fullscreen_shell_v1.h index a904d9667d..b014bf2837 100644 --- a/include/wlr/types/wlr_fullscreen_shell_v1.h +++ b/include/wlr/types/wlr_fullscreen_shell_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H #define WLR_TYPES_WLR_FULLSCREEN_SHELL_V1_H -#include +#include #include "fullscreen-shell-unstable-v1-protocol.h" struct wlr_fullscreen_shell_v1 { diff --git a/include/wlr/types/wlr_gamma_control_v1.h b/include/wlr/types/wlr_gamma_control_v1.h index f186aa8130..202fde1238 100644 --- a/include/wlr/types/wlr_gamma_control_v1.h +++ b/include/wlr/types/wlr_gamma_control_v1.h @@ -1,7 +1,7 @@ #ifndef WLR_TYPES_WLR_GAMMA_CONTROL_V1_H #define WLR_TYPES_WLR_GAMMA_CONTROL_V1_H -#include +#include struct wlr_gamma_control_manager_v1 { struct wl_global *global; diff --git a/include/wlr/types/wlr_gtk_primary_selection.h b/include/wlr/types/wlr_gtk_primary_selection.h index f1a9a83b51..bb16b4e35f 100644 --- a/include/wlr/types/wlr_gtk_primary_selection.h +++ b/include/wlr/types/wlr_gtk_primary_selection.h @@ -14,7 +14,7 @@ #ifndef WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H #define WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H -#include +#include #include /** diff --git a/include/wlr/types/wlr_idle.h b/include/wlr/types/wlr_idle.h index da268555ce..d16932f5ab 100644 --- a/include/wlr/types/wlr_idle.h +++ b/include/wlr/types/wlr_idle.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_IDLE_H #define WLR_TYPES_WLR_IDLE_H -#include +#include #include /** diff --git a/include/wlr/types/wlr_idle_inhibit_v1.h b/include/wlr/types/wlr_idle_inhibit_v1.h index 2093eafeb8..0d007f9f3e 100644 --- a/include/wlr/types/wlr_idle_inhibit_v1.h +++ b/include/wlr/types/wlr_idle_inhibit_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_IDLE_INHIBIT_V1_H #define WLR_TYPES_WLR_IDLE_INHIBIT_V1_H -#include +#include /* This interface permits clients to inhibit the idle behavior such as * screenblanking, locking, and screensaving. diff --git a/include/wlr/types/wlr_input_inhibitor.h b/include/wlr/types/wlr_input_inhibitor.h index f31875403e..2dc007be9f 100644 --- a/include/wlr/types/wlr_input_inhibitor.h +++ b/include/wlr/types/wlr_input_inhibitor.h @@ -8,7 +8,7 @@ #ifndef WLR_TYPES_INPUT_INHIBITOR_H #define WLR_TYPES_INPUT_INHIBITOR_H -#include +#include struct wlr_input_inhibit_manager { struct wl_global *global; diff --git a/include/wlr/types/wlr_input_method_v2.h b/include/wlr/types/wlr_input_method_v2.h index d22d54d1ba..9b600c1e81 100644 --- a/include/wlr/types/wlr_input_method_v2.h +++ b/include/wlr/types/wlr_input_method_v2.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_INPUT_METHOD_V2_H #include #include -#include +#include #include struct wlr_input_method_v2_preedit_string { diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index ae27954183..e16df7a787 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -11,8 +11,8 @@ #include #include -#include -#include +#include +#include #include #define WLR_LED_COUNT 3 diff --git a/include/wlr/types/wlr_layer_shell_v1.h b/include/wlr/types/wlr_layer_shell_v1.h index fe0175f26f..9613621a3d 100644 --- a/include/wlr/types/wlr_layer_shell_v1.h +++ b/include/wlr/types/wlr_layer_shell_v1.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_LAYER_SHELL_V1_H #include #include -#include +#include #include #include #include "wlr-layer-shell-unstable-v1-protocol.h" diff --git a/include/wlr/types/wlr_matrix.h b/include/wlr/types/wlr_matrix.h index a3961c35de..359d84fbe1 100644 --- a/include/wlr/types/wlr_matrix.h +++ b/include/wlr/types/wlr_matrix.h @@ -17,7 +17,7 @@ #ifndef WLR_TYPES_WLR_MATRIX_H #define WLR_TYPES_WLR_MATRIX_H -#include +#include #include /** Writes the identity matrix into mat */ diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 9bc1b67fc5..281f7daf9d 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/wlr/types/wlr_output_management_v1.h b/include/wlr/types/wlr_output_management_v1.h index 4d44960129..cc74b404ad 100644 --- a/include/wlr/types/wlr_output_management_v1.h +++ b/include/wlr/types/wlr_output_management_v1.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_OUTPUT_MANAGEMENT_V1_H #include -#include +#include #include struct wlr_output_manager_v1 { diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h index 486e1bc9a1..6969904298 100644 --- a/include/wlr/types/wlr_pointer.h +++ b/include/wlr/types/wlr_pointer.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_POINTER_H #include -#include +#include #include struct wlr_pointer_impl; diff --git a/include/wlr/types/wlr_pointer_constraints_v1.h b/include/wlr/types/wlr_pointer_constraints_v1.h index fef8c2e99f..e030a37592 100644 --- a/include/wlr/types/wlr_pointer_constraints_v1.h +++ b/include/wlr/types/wlr_pointer_constraints_v1.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_POINTER_CONSTRAINTS_V1_H #include -#include +#include #include #include #include diff --git a/include/wlr/types/wlr_pointer_gestures_v1.h b/include/wlr/types/wlr_pointer_gestures_v1.h index 7caf0f537d..86fcaf3d9c 100644 --- a/include/wlr/types/wlr_pointer_gestures_v1.h +++ b/include/wlr/types/wlr_pointer_gestures_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_POINTER_GESTURES_V1_H #define WLR_TYPES_WLR_POINTER_GESTURES_V1_H -#include +#include #include #include diff --git a/include/wlr/types/wlr_presentation_time.h b/include/wlr/types/wlr_presentation_time.h index 9f9f0e8742..c80f69661b 100644 --- a/include/wlr/types/wlr_presentation_time.h +++ b/include/wlr/types/wlr_presentation_time.h @@ -12,7 +12,7 @@ #include #include #include -#include +#include struct wlr_presentation { struct wl_global *global; diff --git a/include/wlr/types/wlr_primary_selection.h b/include/wlr/types/wlr_primary_selection.h index 4df4738060..af3d484900 100644 --- a/include/wlr/types/wlr_primary_selection.h +++ b/include/wlr/types/wlr_primary_selection.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_PRIMARY_SELECTION_H #define WLR_TYPES_WLR_PRIMARY_SELECTION_H -#include +#include #include struct wlr_primary_selection_source; diff --git a/include/wlr/types/wlr_primary_selection_v1.h b/include/wlr/types/wlr_primary_selection_v1.h index e6bde8a3d1..b380ea6132 100644 --- a/include/wlr/types/wlr_primary_selection_v1.h +++ b/include/wlr/types/wlr_primary_selection_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_PRIMARY_SELECTION_V1_H #define WLR_TYPES_WLR_PRIMARY_SELECTION_V1_H -#include +#include #include struct wlr_primary_selection_v1_device_manager { diff --git a/include/wlr/types/wlr_relative_pointer_v1.h b/include/wlr/types/wlr_relative_pointer_v1.h index 32ed574bb9..d4aa6fa8ce 100644 --- a/include/wlr/types/wlr_relative_pointer_v1.h +++ b/include/wlr/types/wlr_relative_pointer_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_RELATIVE_POINTER_V1_H #define WLR_TYPES_WLR_RELATIVE_POINTER_V1_H -#include +#include /** * This protocol specifies a set of interfaces used for making clients able to diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h index ff76d8293f..a01e4dabbc 100644 --- a/include/wlr/types/wlr_screencopy_v1.h +++ b/include/wlr/types/wlr_screencopy_v1.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_SCREENCOPY_V1_H #include -#include +#include #include struct wlr_screencopy_manager_v1 { diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 974ca5788d..69fe13599f 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_SEAT_H #include -#include +#include #include #include #include diff --git a/include/wlr/types/wlr_server_decoration.h b/include/wlr/types/wlr_server_decoration.h index 3e4eb5e177..cea47cdf7a 100644 --- a/include/wlr/types/wlr_server_decoration.h +++ b/include/wlr/types/wlr_server_decoration.h @@ -14,7 +14,7 @@ #ifndef WLR_TYPES_WLR_SERVER_DECORATION_H #define WLR_TYPES_WLR_SERVER_DECORATION_H -#include +#include /** * Possible values to use in request_mode and the event mode. Same as diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 0c38998779..f62171d186 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include enum wlr_surface_state_field { diff --git a/include/wlr/types/wlr_switch.h b/include/wlr/types/wlr_switch.h index df1c8579a3..57f903844f 100644 --- a/include/wlr/types/wlr_switch.h +++ b/include/wlr/types/wlr_switch.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_SWITCH_H #include -#include +#include #include #include diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index d9bb284fdc..255fa89e39 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_TABLET_PAD_H #include -#include +#include #include #include diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index cb516ed9fb..f732ad4037 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -10,7 +10,7 @@ #define WLR_TYPES_TABLET_TOOL_H #include -#include +#include #include #include @@ -45,7 +45,7 @@ struct wlr_tablet_tool { struct { struct wl_signal destroy; } events; - + void *data; }; diff --git a/include/wlr/types/wlr_tablet_v2.h b/include/wlr/types/wlr_tablet_v2.h index d6fd646d9a..894b062db2 100644 --- a/include/wlr/types/wlr_tablet_v2.h +++ b/include/wlr/types/wlr_tablet_v2.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_TABLET_V2_H #define WLR_TYPES_WLR_TABLET_V2_H -#include +#include #include #include diff --git a/include/wlr/types/wlr_text_input_v3.h b/include/wlr/types/wlr_text_input_v3.h index 0db0cf474e..ac1b0a6997 100644 --- a/include/wlr/types/wlr_text_input_v3.h +++ b/include/wlr/types/wlr_text_input_v3.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_TEXT_INPUT_V3_H #define WLR_TYPES_WLR_TEXT_INPUT_V3_H -#include +#include #include #include diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index 80ba768e9d..bb8a58c30b 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_TOUCH_H #include -#include +#include struct wlr_touch_impl; diff --git a/include/wlr/types/wlr_virtual_keyboard_v1.h b/include/wlr/types/wlr_virtual_keyboard_v1.h index fbc9d223f8..ea172056d2 100644 --- a/include/wlr/types/wlr_virtual_keyboard_v1.h +++ b/include/wlr/types/wlr_virtual_keyboard_v1.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_VIRTUAL_KEYBOARD_V1_H #define WLR_TYPES_WLR_VIRTUAL_KEYBOARD_V1_H -#include +#include #include #include diff --git a/include/wlr/types/wlr_xcursor_manager.h b/include/wlr/types/wlr_xcursor_manager.h index 285006bfca..25c277c171 100644 --- a/include/wlr/types/wlr_xcursor_manager.h +++ b/include/wlr/types/wlr_xcursor_manager.h @@ -9,7 +9,7 @@ #ifndef WLR_TYPES_WLR_XCURSOR_MANAGER_H #define WLR_TYPES_WLR_XCURSOR_MANAGER_H -#include +#include #include #include diff --git a/include/wlr/types/wlr_xdg_decoration_v1.h b/include/wlr/types/wlr_xdg_decoration_v1.h index ba1ad84b9b..468872a514 100644 --- a/include/wlr/types/wlr_xdg_decoration_v1.h +++ b/include/wlr/types/wlr_xdg_decoration_v1.h @@ -1,7 +1,7 @@ #ifndef WLR_TYPES_WLR_XDG_DECORATION_V1 #define WLR_TYPES_WLR_XDG_DECORATION_V1 -#include +#include #include enum wlr_xdg_toplevel_decoration_v1_mode { diff --git a/include/wlr/types/wlr_xdg_output_v1.h b/include/wlr/types/wlr_xdg_output_v1.h index d4279fb97f..d9e2b90531 100644 --- a/include/wlr/types/wlr_xdg_output_v1.h +++ b/include/wlr/types/wlr_xdg_output_v1.h @@ -8,7 +8,7 @@ #ifndef WLR_TYPES_WLR_XDG_OUTPUT_V1_H #define WLR_TYPES_WLR_XDG_OUTPUT_V1_H -#include +#include #include struct wlr_xdg_output_v1 { diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 804b00837b..16b6867bcf 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -10,7 +10,7 @@ #define WLR_TYPES_WLR_XDG_SHELL_H #include #include -#include +#include #include "xdg-shell-protocol.h" struct wlr_xdg_shell { diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h index 2e3a54956d..a73045f544 100644 --- a/include/wlr/types/wlr_xdg_shell_v6.h +++ b/include/wlr/types/wlr_xdg_shell_v6.h @@ -14,7 +14,7 @@ #ifndef WLR_TYPES_WLR_XDG_SHELL_V6_H #define WLR_TYPES_WLR_XDG_SHELL_V6_H -#include +#include #include #include #include "xdg-shell-unstable-v6-protocol.h" diff --git a/include/wlr/util/region.h b/include/wlr/util/region.h index 4aca07e166..c3dbd78ae8 100644 --- a/include/wlr/util/region.h +++ b/include/wlr/util/region.h @@ -19,7 +19,7 @@ #include #include -#include +#include /** * Scales a region, ie. multiplies all its coordinates by `scale`. diff --git a/meson.build b/meson.build index 083d4728bb..cd280bf57f 100644 --- a/meson.build +++ b/meson.build @@ -96,9 +96,6 @@ if cc.get_id() == 'clang' add_project_arguments('-Wno-missing-braces', language: 'c') endif -# Avoid wl_buffer deprecation warnings -add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c') - wayland_server = dependency('wayland-server', version: '>=1.16') wayland_client = dependency('wayland-client') wayland_egl = dependency('wayland-egl') diff --git a/rootston/input.c b/rootston/input.c index 757f1b3529..d5e04d3d3d 100644 --- a/rootston/input.c +++ b/rootston/input.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/keyboard.c b/rootston/keyboard.c index 9d3fadf605..da88e914ff 100644 --- a/rootston/keyboard.c +++ b/rootston/keyboard.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/layer_shell.c b/rootston/layer_shell.c index 1a53375579..278046a39b 100644 --- a/rootston/layer_shell.c +++ b/rootston/layer_shell.c @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/main.c b/rootston/main.c index b14989fa53..350906e305 100644 --- a/rootston/main.c +++ b/rootston/main.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/seat.c b/rootston/seat.c index 719fc352dc..c51d6ee547 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/xdg_shell.c b/rootston/xdg_shell.c index 7b12ec7094..7b56539290 100644 --- a/rootston/xdg_shell.c +++ b/rootston/xdg_shell.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index 917ca3a007..5830d34463 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/rootston/xwayland.c b/rootston/xwayland.c index 89d0e49719..7dc637ce42 100644 --- a/rootston/xwayland.c +++ b/rootston/xwayland.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c index ca5cdc910e..3ea7d07304 100644 --- a/tinywl/tinywl.c +++ b/tinywl/tinywl.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/data_device/wlr_data_device.c b/types/data_device/wlr_data_device.c index 57cc20818f..4c908620d2 100644 --- a/types/data_device/wlr_data_device.c +++ b/types/data_device/wlr_data_device.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/data_device/wlr_data_offer.c b/types/data_device/wlr_data_offer.c index c0c008cbb8..ce28c6d6e9 100644 --- a/types/data_device/wlr_data_offer.c +++ b/types/data_device/wlr_data_offer.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/data_device/wlr_data_source.c b/types/data_device/wlr_data_source.c index 0ab0d7f778..1baaac60a0 100644 --- a/types/data_device/wlr_data_source.c +++ b/types/data_device/wlr_data_source.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/data_device/wlr_drag.c b/types/data_device/wlr_drag.c index ab0005d3e7..b4fe9a8a9a 100644 --- a/types/data_device/wlr_drag.c +++ b/types/data_device/wlr_drag.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/seat/wlr_seat.c b/types/seat/wlr_seat.c index 9605df32ea..0a5e2d4cfe 100644 --- a/types/seat/wlr_seat.c +++ b/types/seat/wlr_seat.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/seat/wlr_seat_keyboard.c b/types/seat/wlr_seat_keyboard.c index fef3b502fa..52a4222af9 100644 --- a/types/seat/wlr_seat_keyboard.c +++ b/types/seat/wlr_seat_keyboard.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/seat/wlr_seat_pointer.c b/types/seat/wlr_seat_pointer.c index ac5ac88b65..2a43e61bde 100644 --- a/types/seat/wlr_seat_pointer.c +++ b/types/seat/wlr_seat_pointer.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include "types/wlr_seat.h" diff --git a/types/seat/wlr_seat_touch.c b/types/seat/wlr_seat_touch.c index 6639aa6c24..58db92cfe0 100644 --- a/types/seat/wlr_seat_touch.c +++ b/types/seat/wlr_seat_touch.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include "types/wlr_seat.h" diff --git a/types/tablet_v2/wlr_tablet_v2.c b/types/tablet_v2/wlr_tablet_v2.c index 39db8d1ffc..b470d1280a 100644 --- a/types/tablet_v2/wlr_tablet_v2.c +++ b/types/tablet_v2/wlr_tablet_v2.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_compositor.c b/types/wlr_compositor.c index 7702a77883..c4dba2b444 100644 --- a/types/wlr_compositor.c +++ b/types/wlr_compositor.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c index 19176a13b4..03660917a2 100644 --- a/types/wlr_cursor.c +++ b/types/wlr_cursor.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_gamma_control_v1.c b/types/wlr_gamma_control_v1.c index 8ccc96e590..4e8abaf269 100644 --- a/types/wlr_gamma_control_v1.c +++ b/types/wlr_gamma_control_v1.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_idle.c b/types/wlr_idle.c index 7ea8cd766e..ffa6131f97 100644 --- a/types/wlr_idle.c +++ b/types/wlr_idle.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include "idle-protocol.h" diff --git a/types/wlr_idle_inhibit_v1.c b/types/wlr_idle_inhibit_v1.c index 5f3d3d406a..72b9e54021 100644 --- a/types/wlr_idle_inhibit_v1.c +++ b/types/wlr_idle_inhibit_v1.c @@ -1,11 +1,11 @@ #include #include -#include #include -#include +#include +#include #include -#include "wayland-util.h" -#include "wayland-server.h" +#include +#include #include "idle-inhibit-unstable-v1-protocol.h" static const struct zwp_idle_inhibit_manager_v1_interface idle_inhibit_impl; diff --git a/types/wlr_input_device.c b/types/wlr_input_device.c index 049135fb77..1364aa3d9b 100644 --- a/types/wlr_input_device.c +++ b/types/wlr_input_device.c @@ -1,7 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include #include -#include +#include #include #include #include diff --git a/types/wlr_input_inhibitor.c b/types/wlr_input_inhibitor.c index fa692d6cff..699ec94185 100644 --- a/types/wlr_input_inhibitor.c +++ b/types/wlr_input_inhibitor.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include "wlr/types/wlr_input_inhibitor.h" #include "wlr-input-inhibitor-unstable-v1-protocol.h" #include "util/signal.h" diff --git a/types/wlr_keyboard.c b/types/wlr_keyboard.c index cffa3ec6ac..1235d0b0ee 100644 --- a/types/wlr_keyboard.c +++ b/types/wlr_keyboard.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c index ab9069e44f..330caaf286 100644 --- a/types/wlr_layer_shell_v1.c +++ b/types/wlr_layer_shell_v1.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_linux_dmabuf_v1.c b/types/wlr_linux_dmabuf_v1.c index 19eab3f1aa..76d80b83cd 100644 --- a/types/wlr_linux_dmabuf_v1.c +++ b/types/wlr_linux_dmabuf_v1.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_output.c b/types/wlr_output.c index 22b22ef70b..189b175c3e 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_output_damage.c b/types/wlr_output_damage.c index a1fb613432..8c288e442d 100644 --- a/types/wlr_output_damage.c +++ b/types/wlr_output_damage.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_pointer.c b/types/wlr_pointer.c index 6d50ef0ba2..d18fe754dc 100644 --- a/types/wlr_pointer.c +++ b/types/wlr_pointer.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/types/wlr_pointer_constraints_v1.c b/types/wlr_pointer_constraints_v1.c index 196af92ec6..04e48416f8 100644 --- a/types/wlr_pointer_constraints_v1.c +++ b/types/wlr_pointer_constraints_v1.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/types/wlr_pointer_gestures_v1.c b/types/wlr_pointer_gestures_v1.c index cbe951ebfa..6d45377454 100644 --- a/types/wlr_pointer_gestures_v1.c +++ b/types/wlr_pointer_gestures_v1.c @@ -4,7 +4,7 @@ #include #include -#include +#include #include #include #include diff --git a/types/wlr_region.c b/types/wlr_region.c index 6996ab1483..808cbb7251 100644 --- a/types/wlr_region.c +++ b/types/wlr_region.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include static void region_add(struct wl_client *client, struct wl_resource *resource, diff --git a/types/wlr_relative_pointer_v1.c b/types/wlr_relative_pointer_v1.c index 04a44725de..5210e0ce84 100644 --- a/types/wlr_relative_pointer_v1.c +++ b/types/wlr_relative_pointer_v1.c @@ -1,12 +1,12 @@ -#include #include #include -#include +#include #include +#include +#include #include #include -#include "wayland-util.h" -#include "wayland-server.h" +#include #include "relative-pointer-unstable-v1-protocol.h" #define RELATIVE_POINTER_MANAGER_VERSION 1 diff --git a/types/wlr_surface.c b/types/wlr_surface.c index febfcd4384..7b5cea95d3 100644 --- a/types/wlr_surface.c +++ b/types/wlr_surface.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include diff --git a/types/wlr_switch.c b/types/wlr_switch.c index c6e7378f18..248997a068 100644 --- a/types/wlr_switch.c +++ b/types/wlr_switch.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/types/wlr_tablet_pad.c b/types/wlr_tablet_pad.c index 804d6910ae..71421e7253 100644 --- a/types/wlr_tablet_pad.c +++ b/types/wlr_tablet_pad.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/types/wlr_tablet_tool.c b/types/wlr_tablet_tool.c index ca92d4e2c2..6a5de4ee41 100644 --- a/types/wlr_tablet_tool.c +++ b/types/wlr_tablet_tool.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/types/wlr_touch.c b/types/wlr_touch.c index f04a8ffe15..9a6dacfa69 100644 --- a/types/wlr_touch.c +++ b/types/wlr_touch.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/util/log.c b/util/log.c index 25629e05be..c99aba8ffe 100644 --- a/util/log.c +++ b/util/log.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include static bool colored = true; diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index 489640d319..2018d34196 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include "sockets.h"