mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
KDE frameworks, bump to 6.25.0 part7 (#13945)
This commit is contained in:
41
kde-frameworks/krunner/patches/krunner6-6.25.0.patchset
Normal file
41
kde-frameworks/krunner/patches/krunner6-6.25.0.patchset
Normal file
@@ -0,0 +1,41 @@
|
||||
From 14d741a382e514553b7d09859487e07573a4c7af Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Sat, 13 Sep 2025 11:39:22 +0200
|
||||
Subject: Disable KWaylandExtras
|
||||
|
||||
|
||||
diff --git a/src/dbusrunner.cpp b/src/dbusrunner.cpp
|
||||
index 84293ec..5c62150 100644
|
||||
--- a/src/dbusrunner.cpp
|
||||
+++ b/src/dbusrunner.cpp
|
||||
@@ -17,7 +17,9 @@
|
||||
#include <QIcon>
|
||||
#include <set>
|
||||
|
||||
+#ifndef Q_OS_HAIKU
|
||||
#include <KWaylandExtras>
|
||||
+#endif
|
||||
#include <KWindowSystem>
|
||||
|
||||
#include "dbusutils_p.h"
|
||||
@@ -288,6 +290,9 @@ void DBusRunner::run(const KRunner::RunnerContext & /*context*/, const KRunner::
|
||||
QDBusConnection::sessionBus().call(runMethod, QDBus::NoBlock);
|
||||
};
|
||||
|
||||
+#ifdef Q_OS_HAIKU
|
||||
+ run();
|
||||
+#else
|
||||
if (KWindowSystem::isPlatformWayland() && qGuiApp->focusWindow()) {
|
||||
auto tokenFuture = KWaylandExtras::xdgActivationToken(qGuiApp->focusWindow(), {});
|
||||
tokenFuture.then(this, [this, service, matchId, actionId, run](const QString &token) {
|
||||
@@ -301,6 +306,7 @@ void DBusRunner::run(const KRunner::RunnerContext & /*context*/, const KRunner::
|
||||
} else {
|
||||
run();
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
QImage DBusRunner::decodeImage(const RemoteImage &remoteImage)
|
||||
--
|
||||
2.52.0
|
||||
|
||||
Reference in New Issue
Block a user