mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-25 01:40:56 -05:00
Avoid including generated headers publicly where possible
This is possible now that w-p ships enum headers. The remaining includes are from wlr-protocols.
This commit is contained in:
parent
812675ba34
commit
ad1b2f2819
14 changed files with 20 additions and 16 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/util/addon.h>
|
||||
|
||||
#include "color-management-v1-protocol.h"
|
||||
#include "render/color.h"
|
||||
#include "util/mem.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
#include <wlr/types/wlr_content_type_v1.h>
|
||||
#include <wlr/types/wlr_compositor.h>
|
||||
|
||||
#include "content-type-v1-protocol.h"
|
||||
|
||||
#define CONTENT_TYPE_VERSION 1
|
||||
|
||||
struct wlr_content_type_v1_surface {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
#include <wlr/types/wlr_cursor_shape_v1.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
#include <wlr/types/wlr_tablet_tool.h>
|
||||
|
||||
#include "cursor-shape-v1-protocol.h"
|
||||
#include "types/wlr_tablet_v2.h"
|
||||
|
||||
#define CURSOR_SHAPE_MANAGER_V1_VERSION 2
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include <wlr/types/wlr_ext_image_copy_capture_v1.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
#include "ext-image-copy-capture-v1-protocol.h"
|
||||
#include "render/pixel_format.h"
|
||||
|
||||
#define IMAGE_COPY_CAPTURE_MANAGER_V1_VERSION 1
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
#include <wlr/util/box.h>
|
||||
#include <wlr/util/log.h>
|
||||
|
||||
#include "pointer-constraints-unstable-v1-protocol.h"
|
||||
|
||||
static const struct zwp_locked_pointer_v1_interface locked_pointer_impl;
|
||||
static const struct zwp_confined_pointer_v1_interface confined_pointer_impl;
|
||||
static const struct zwp_pointer_constraints_v1_interface pointer_constraints_impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue