linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / qt-5 / 5.12 / qtbase.patch.d / 0007-qtbase-xcursor.patch
blob2fd9e9509d63d9ee441f8339644733ace6979f2a
1 From 35e80f303ae6a6c4c53ba8eb3d84574cc03d68d8 Mon Sep 17 00:00:00 2001
2 From: Thomas Tuegel <ttuegel@mailbox.org>
3 Date: Tue, 17 Sep 2019 05:35:58 -0500
4 Subject: [PATCH 07/12] qtbase-xcursor
6 ---
7 src/plugins/platforms/xcb/qxcbcursor.cpp | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/src/plugins/platforms/xcb/qxcbcursor.cpp b/src/plugins/platforms/xcb/qxcbcursor.cpp
11 index fbadab4d50..c83ce0af5b 100644
12 --- a/src/plugins/platforms/xcb/qxcbcursor.cpp
13 +++ b/src/plugins/platforms/xcb/qxcbcursor.cpp
14 @@ -317,10 +317,10 @@ QXcbCursor::QXcbCursor(QXcbConnection *conn, QXcbScreen *screen)
15 #if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
16 static bool function_ptrs_not_initialized = true;
17 if (function_ptrs_not_initialized) {
18 - QLibrary xcursorLib(QLatin1String("Xcursor"), 1);
19 + QLibrary xcursorLib(QLatin1String(NIXPKGS_LIBXCURSOR), 1);
20 bool xcursorFound = xcursorLib.load();
21 if (!xcursorFound) { // try without the version number
22 - xcursorLib.setFileName(QLatin1String("Xcursor"));
23 + xcursorLib.setFileName(QLatin1String(NIXPKGS_LIBXCURSOR));
24 xcursorFound = xcursorLib.load();
26 if (xcursorFound) {
27 --
28 2.23.GIT