summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Zahorodnii <vlad.zahorodnii@kde.org>2022-11-22 12:33:41 +0200
committerVlad Zahorodnii <vlad.zahorodnii@kde.org>2022-11-22 12:41:26 +0200
commitc14916f5fd84f6b5483024b3df77592661a0f04e (patch)
tree62573131c779ad0ecc55ccba1d047233ed32c7c1
parent054e54759dbd6c3e76b55d5c4a9a54f62967ad1a (diff)
downloadqtwayland-c14916f5fd84f6b5483024b3df77592661a0f04e.tar.gz
Client: Bump wl_output version
wl_output_release is available starting with wl_output v3. Change-Id: I21822b26728ffb9318f1f8b4bd82ef7329682838 Reviewed-by: David Edmundson <davidedmundson@kde.org>
-rw-r--r--src/client/qwaylandscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandscreen.cpp b/src/client/qwaylandscreen.cpp
index 7239f869..7c4f1bdf 100644
--- a/src/client/qwaylandscreen.cpp
+++ b/src/client/qwaylandscreen.cpp
@@ -23,7 +23,7 @@ QWaylandXdgOutputManagerV1::QWaylandXdgOutputManagerV1(QWaylandDisplay* display,
}
QWaylandScreen::QWaylandScreen(QWaylandDisplay *waylandDisplay, int version, uint32_t id)
- : QtWayland::wl_output(waylandDisplay->wl_registry(), id, qMin(version, 2))
+ : QtWayland::wl_output(waylandDisplay->wl_registry(), id, qMin(version, 3))
, m_outputId(id)
, mWaylandDisplay(waylandDisplay)
, mOutputName(QStringLiteral("Screen%1").arg(id))