mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
view: limit XCB header to Xwayland after 286b2146c3
../src/view.c:5:10: fatal error: 'xcb/xcb_icccm.h' file not found
#include <xcb/xcb_icccm.h>
^~~~~~~~~~~~~~~~~
This commit is contained in:
parent
8fe2f2a2a8
commit
ae17cd2c8d
1 changed files with 4 additions and 1 deletions
|
|
@ -2,13 +2,16 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#include <xcb/xcb_icccm.h>
|
|
||||||
#include "common/scene-helpers.h"
|
#include "common/scene-helpers.h"
|
||||||
#include "labwc.h"
|
#include "labwc.h"
|
||||||
#include "ssd.h"
|
#include "ssd.h"
|
||||||
#include "menu/menu.h"
|
#include "menu/menu.h"
|
||||||
#include "workspaces.h"
|
#include "workspaces.h"
|
||||||
|
|
||||||
|
#if HAVE_XWAYLAND
|
||||||
|
#include <xcb/xcb_icccm.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define LAB_FALLBACK_WIDTH 640
|
#define LAB_FALLBACK_WIDTH 640
|
||||||
#define LAB_FALLBACK_HEIGHT 480
|
#define LAB_FALLBACK_HEIGHT 480
|
||||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue