(!1654) Xnest: add xcb and x11-xcb as dependency

In order to transition to XCB, we need to link xcb, but temporarily
also x11-xcb.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-07-30 14:30:46 +02:00
parent cdc18a6013
commit d85d6e7dfb
2 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,7 @@ typedef XID KeySym64;
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
#include <X11/Xlib-xcb.h>
#undef GC
#ifdef _XSERVER64_tmp

View File

@ -19,6 +19,9 @@ srcs = [
'../../mi/miinitext.h',
]
x11_xcb_dep = dependency('x11-xcb', required: true)
xcb_dep = dependency('xcb', required: true)
executable(
'Xnest',
srcs,
@ -26,6 +29,8 @@ executable(
dependencies: [
common_dep,
xnest_dep,
xcb_dep,
x11_xcb_dep,
],
link_with: [
libxserver_main,