mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-01-01 11:08:21 -05:00
config: Put all defines into config.h
This commit is contained in:
parent
4d744aeb23
commit
57a09c8ca4
16 changed files with 37 additions and 23 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <xcb/xfixes.h>
|
||||
#include <xcb/xcb_image.h>
|
||||
#include <xcb/render.h>
|
||||
#include "config.h"
|
||||
#include "wlr/util/log.h"
|
||||
#include "wlr/util/edges.h"
|
||||
#include "wlr/types/wlr_surface.h"
|
||||
|
|
@ -14,7 +15,7 @@
|
|||
#include "wlr/xcursor.h"
|
||||
#include "wlr/xwm.h"
|
||||
|
||||
#ifdef HAS_XCB_ICCCM
|
||||
#ifdef WLR_HAS_XCB_ICCCM
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -365,7 +366,7 @@ static void read_surface_protocols(struct wlr_xwm *xwm,
|
|||
wlr_log(L_DEBUG, "WM_PROTOCOLS (%zu)", atoms_len);
|
||||
}
|
||||
|
||||
#ifdef HAS_XCB_ICCCM
|
||||
#ifdef WLR_HAS_XCB_ICCCM
|
||||
static void read_surface_hints(struct wlr_xwm *xwm,
|
||||
struct wlr_xwayland_surface *xsurface,
|
||||
xcb_get_property_reply_t *reply) {
|
||||
|
|
@ -396,7 +397,7 @@ static void read_surface_hints(struct wlr_xwm *xwm,
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAS_XCB_ICCCM
|
||||
#ifdef WLR_HAS_XCB_ICCCM
|
||||
static void read_surface_normal_hints(struct wlr_xwm *xwm,
|
||||
struct wlr_xwayland_surface *xsurface,
|
||||
xcb_get_property_reply_t *reply) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue