From cc2e6fc96cbed230b4cdcd2353a805ec26dd2553 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 2 Feb 2024 12:33:57 +0200 Subject: [PATCH] Add fallback cursor shape for "default" shape Some cursor themes don't have "default" shape, so fallback to "left_ptr" with such themes. BUG: 477476 --- src/cursor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cursor.cpp b/src/cursor.cpp index c46d1ff880..f8a88d41a7 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -349,6 +349,12 @@ QList Cursor::cursorAlternativeNames(const QByteArray &name) QByteArrayLiteral("cross-reverse"), }, }, + { + QByteArrayLiteral("default"), + { + QByteArrayLiteral("left_ptr"), + }, + }, { QByteArrayLiteral("up_arrow"), {