summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2024-01-04 19:13:15 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-01-06 19:14:08 +0000
commit59282782c4c86731bb437e40bdeef7fb53c718a2 (patch)
tree485ad2e0737af7a3c6022215b8ed2a417ac5f8a7
parentd2df6fbf85afcd28665abbcd95640ba188e4d9db (diff)
bradient: Use "Size" instead of "Split" cursors for resizing
SizeVerCursor: "A cursor used for elements that are used to vertically resize top-level windows." SizeHorCursor: "A cursor used for elements that are used to horizontally resize top-level windows." Pick-to: 6.5 Change-Id: Ib780269120aa373cd9fcf84826683cccd1dc4f4d Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit d85ebd9fba97ea2dc89278e331bfdd904c09159d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 8acfeed01b7d29eb25be8a1dcf001471bbe9ad7d)
-rw-r--r--src/plugins/decorations/bradient/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/decorations/bradient/main.cpp b/src/plugins/decorations/bradient/main.cpp
index 5da0e85f4..0049c1ed4 100644
--- a/src/plugins/decorations/bradient/main.cpp
+++ b/src/plugins/decorations/bradient/main.cpp
@@ -370,7 +370,7 @@ void QWaylandBradientDecoration::processPointerBottom(QWaylandInputDevice *input
//bottom bit
#if QT_CONFIG(cursor)
if (type == PointerType::Mouse)
- waylandWindow()->setMouseCursor(inputDevice, Qt::SplitVCursor);
+ waylandWindow()->setMouseCursor(inputDevice, Qt::SizeVerCursor);
#endif
startResize(inputDevice, Qt::BottomEdge, b);
}
@@ -386,7 +386,7 @@ void QWaylandBradientDecoration::processPointerLeft(QWaylandInputDevice *inputDe
Q_UNUSED(mods);
#if QT_CONFIG(cursor)
if (type == PointerType::Mouse)
- waylandWindow()->setMouseCursor(inputDevice, Qt::SplitHCursor);
+ waylandWindow()->setMouseCursor(inputDevice, Qt::SizeHorCursor);
#else
Q_UNUSED(type);
#endif
@@ -403,7 +403,7 @@ void QWaylandBradientDecoration::processPointerRight(QWaylandInputDevice *inputD
Q_UNUSED(mods);
#if QT_CONFIG(cursor)
if (type == PointerType::Mouse)
- waylandWindow()->setMouseCursor(inputDevice, Qt::SplitHCursor);
+ waylandWindow()->setMouseCursor(inputDevice, Qt::SizeHorCursor);
#else
Q_UNUSED(type);
#endif