https://bugs.kde.org/show_bug.cgi?id=526689
Bug ID: 526689
Summary: KWin build without X11 still requires XCB through
shadow.h
Classification: Plasma
Product: kwin
Version First master
Reported In:
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
src/shadow.h unconditionally includes <xcb/xcb.h> and declares X11-specific
private methods using xcb_window_t.
The implementations of these methods in shadow.cpp are already guarded by
KWIN_BUILD_X11, but the declarations and XCB include in shadow.h are not.
STEPS TO REPRODUCE
1. Configure KWin with -DKWIN_BUILD_X11=OFF
2. Build without XCB development headers
OBSERVED RESULT
Compilation requires xcb/xcb.h through src/shadow.h even though X11 support is
disabled.
EXPECTED RESULT
KWin should not require XCB development headers when KWIN_BUILD_X11=OFF.
ADDITIONAL INFORMATION
This is still present in the current master branch.
--
You are receiving this mail because:
You are watching all bug changes.