| Summary: | KWin fails to build with HAVE_X11_XINPUT=0 | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Janet Blackquill <uhhadd> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This has been fixed by https://invent.kde.org/plasma/kwin/-/merge_requests/3374 |
Someone probably forgot to guard code referring to XInput stuff. In file included from /usr/include/c++/12/memory:76, from /home/jblackquill/KDE/Sources/kwin/src/core/platform.h:19, from /home/jblackquill/KDE/Sources/kwin/src/backends/x11/standalone/x11_standalone_platform.h:11, from /home/jblackquill/KDE/Sources/kwin/src/backends/x11/standalone/x11_standalone_platform.cpp:9: /usr/include/c++/12/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = KWin::XInputIntegration]’: /usr/include/c++/12/bits/unique_ptr.h:396:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = KWin::XInputIntegration; _Dp = std::default_delete<KWin::XInputIntegration>]’ /home/jblackquill/KDE/Sources/kwin/src/backends/x11/standalone/x11_standalone_platform.cpp:108:50: required from here /usr/include/c++/12/bits/unique_ptr.h:93:23: error: invalid application of ‘sizeof’ to incomplete type ‘KWin::XInputIntegration’ 93 | static_assert(sizeof(_Tp)>0, |