summaryrefslogtreecommitdiff
path: root/user/lxqt-notificationd/revert-kwindowsystem-bump.patch
blob: 844e6596f00d1aed8184d13a37247789a02f696d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff '--color=auto' -Nurd lxqt-notificationd-1.4.0/CMakeLists.txt lxqt-notificationd-1.4.0.new/CMakeLists.txt
--- lxqt-notificationd-1.4.0/CMakeLists.txt	2023-11-05 03:44:38.000000000 -0800
+++ lxqt-notificationd-1.4.0.new/CMakeLists.txt	2023-11-26 03:02:51.780473894 -0800
@@ -16,7 +16,7 @@
 option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
 option(LXQT_NOTIFICATION_BUILD_TESTS "Build LXQt Notification tests" OFF)
 
-set(KF5_MINIMUM_VERSION "5.101.0")
+set(KF5_MINIMUM_VERSION "5.36.0")
 set(LXQT_MINIMUM_VERSION "1.4.0")
 set(QT_MINIMUM_VERSION "5.15.0")
 
diff '--color=auto' -Nurd lxqt-notificationd-1.4.0/src/notification.cpp lxqt-notificationd-1.4.0.new/src/notification.cpp
--- lxqt-notificationd-1.4.0/src/notification.cpp	2023-11-05 03:44:38.000000000 -0800
+++ lxqt-notificationd-1.4.0.new/src/notification.cpp	2023-11-26 03:03:40.300079116 -0800
@@ -33,7 +33,6 @@
 #include <QDebug>
 #include <XdgIcon>
 #include <KWindowSystem/KWindowSystem>
-#include <KWindowSystem/KX11Extras>
 #include <QMouseEvent>
 #include <QPushButton>
 #include <QStyle>
@@ -327,7 +326,7 @@
         return;
     }
 
-    const auto ids = KX11Extras::stackingOrder();
+    const auto ids = KWindowSystem::stackingOrder();
     for (const WId &i : ids)
     {
         KWindowInfo info = KWindowInfo(i, NET::WMName | NET::WMVisibleName);