head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.14 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.12 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.10 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.8 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.6 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.4 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.2 pkgsrc-2024Q3-base:1.1; locks; strict; comment @// @; 1.1 date 2024.07.21.20.35.03; author markd; state Exp; branches; next ; commitid tSZyBgpVqYJKmKiF; desc @@ 1.1 log @plasma6-kwayland: add version 6.0.5 KWayland is a Qt-style API to interact with the wayland-client API. This is the QT6/Plasma6 version. @ text @$NetBSD$ linux/input.h only for linux --- src/client/fakeinput.cpp.orig 2024-06-07 08:38:43.065754933 +0000 +++ src/client/fakeinput.cpp @@@@ -10,7 +10,9 @@@@ #include #include +#ifdef Q_OS_LINUX #include +#endif #include @@@@ -98,13 +100,19 @@@@ void FakeInput::Private::sendPointerButt uint32_t b = 0; switch (button) { case Qt::LeftButton: +#ifdef BTN_LEFT b = BTN_LEFT; +#endif break; case Qt::RightButton: +#ifdef BTN_RIGHT b = BTN_RIGHT; +#endif break; case Qt::MiddleButton: +#ifdef BTN_MIDDLE b = BTN_MIDDLE; +#endif break; default: // TODO: more buttons, check implementation in QtWayland @