Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:Frameworks5:LTS:5.24
systemsettings5
0001-Only-use-KWindowSystem-updateStartupId-if-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Only-use-KWindowSystem-updateStartupId-if-we-have-fr.patch of Package systemsettings5
From a03cc21c7a1367a0fcc15fbd0a86ec8ff4fd75a0 Mon Sep 17 00:00:00 2001 From: Nate Graham <nate@kde.org> Date: Tue, 3 Jan 2023 14:27:00 -0700 Subject: [PATCH] Only use KWindowSystem::updateStartupId if we have frameworks >= 5.91 That's the version when it was introduced, but Plasma 5.24 only required 5.89 at launch. BUG: 462795 FIXED-IN: 5.24.8 --- app/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main.cpp b/app/main.cpp index e3f7b004..6214c043 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -12,6 +12,8 @@ #include <QApplication> #include <QCommandLineParser> +#include <kwindowsystem_version.h> + #include <KDBusService> #include <KLocalizedString> #include <KPluginMetaData> @@ -172,7 +174,9 @@ int main(int argc, char *argv[]) mainWindow->reloadStartupModule(); } +#if KWINDOWSYSTEM_VERSION > QT_VERSION_CHECK(5, 90, 0) KWindowSystem::updateStartupId(mainWindow->windowHandle()); +#endif KWindowSystem::activateWindow(mainWindow->windowHandle()); }); -- 2.39.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor