diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2024-01-04 19:13:15 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-01-06 11:08:26 +0000 |
commit | 8acfeed01b7d29eb25be8a1dcf001471bbe9ad7d (patch) | |
tree | db3186964126b1427b200f643c3074c940cbcf3c | |
parent | f1c8366312240ce5bb5055d0fd70d5f82acf6fb3 (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.6 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>
-rw-r--r-- | src/plugins/decorations/bradient/main.cpp | 6 |
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 |