mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
treewide: sort headers
This commit is contained in:
parent
26158d0718
commit
dcd81c91f3
125 changed files with 252 additions and 300 deletions
|
|
@ -2,8 +2,8 @@
|
|||
#define WLR_BACKEND_SESSION_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
struct libseat;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,13 +16,12 @@
|
|||
#define EGL_NO_PLATFORM_SPECIFIC_TYPES
|
||||
#endif
|
||||
|
||||
#include <wlr/config.h>
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <pixman.h>
|
||||
#include <stdbool.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <wlr/config.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
#include <wlr/render/wlr_texture.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
|
||||
struct wlr_box;
|
||||
struct wlr_fbox;
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
#define WLR_TYPES_WLR_CURSOR_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
|
||||
struct wlr_input_device;
|
||||
struct wlr_xcursor_manager;
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
#ifndef WLR_TYPES_WLR_DAMAGE_RING_H
|
||||
#define WLR_TYPES_WLR_DAMAGE_RING_H
|
||||
|
||||
#include <pixman.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <pixman.h>
|
||||
|
||||
/* For triple buffering, a history of two frames is required. */
|
||||
#define WLR_DAMAGE_RING_PREVIOUS_LEN 2
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
#ifndef WLR_TYPES_WLR_DRM_H
|
||||
#define WLR_TYPES_WLR_DRM_H
|
||||
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
|
||||
struct wlr_renderer;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
|
||||
#define WLR_LED_COUNT 3
|
||||
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@
|
|||
#define WLR_TYPES_WLR_LINUX_DMABUF_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/stat.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
#include <sys/stat.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
|
||||
struct wlr_surface;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@
|
|||
#include <pixman.h>
|
||||
#include <stdbool.h>
|
||||
#include <time.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wayland-util.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
#include <wlr/util/addon.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
|
||||
enum wlr_output_mode_aspect_ratio {
|
||||
WLR_OUTPUT_MODE_ASPECT_RATIO_NONE,
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/util/box.h>
|
||||
#include <wlr/util/addon.h>
|
||||
#include <wlr/util/box.h>
|
||||
|
||||
/**
|
||||
* An output layer.
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
|
||||
struct wlr_pointer_impl;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
#ifndef WLR_TYPES_WLR_POINTER_CONSTRAINTS_V1_H
|
||||
#define WLR_TYPES_WLR_POINTER_CONSTRAINTS_V1_H
|
||||
|
||||
#include <pixman.h>
|
||||
#include <stdint.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <pixman.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
#include "pointer-constraints-unstable-v1-protocol.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,8 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/types/wlr_compositor.h>
|
||||
|
||||
#include <wayland-server-protocol.h>
|
||||
#include "tearing-control-v1-protocol.h"
|
||||
|
||||
struct wlr_tearing_control_v1 {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
#define WLR_TYPES_WLR_TOUCH_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
|
||||
struct wlr_touch_impl;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
#define WLR_TYPES_WLR_VIRTUAL_POINTER_V1_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/interfaces/wlr_pointer.h>
|
||||
#include <wlr/interfaces/wlr_output.h>
|
||||
#include <wlr/interfaces/wlr_pointer.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
|
||||
struct wlr_virtual_pointer_manager_v1 {
|
||||
struct wl_global *global;
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@
|
|||
#ifndef WLR_UTIL_LOG_H
|
||||
#define WLR_UTIL_LOG_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
enum wlr_log_importance {
|
||||
WLR_SILENT = 0,
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
#ifndef WLR_UTIL_REGION_H
|
||||
#define WLR_UTIL_REGION_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <pixman.h>
|
||||
#include <stdbool.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
#define WLR_XWAYLAND_SERVER_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
struct wlr_xwayland_server_options {
|
||||
bool lazy;
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/util/addon.h>
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_ewmh.h>
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#include <wlr/util/addon.h>
|
||||
|
||||
struct wlr_box;
|
||||
struct wlr_xwm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue