Commit c48ecf5e authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix activating running instance on Wayland

(cherry picked from commit 16c1ee0c)
parent 68400421
Pipeline #175827 passed with stage
in 1 minute and 23 seconds
......@@ -172,7 +172,8 @@ int main(int argc, char *argv[])
mainWindow->reloadStartupModule();
}
KWindowSystem::forceActiveWindow(mainWindow->winId());
KWindowSystem::updateStartupId(mainWindow->windowHandle());
KWindowSystem::activateWindow(mainWindow->windowHandle());
});
if (!startupModule.isEmpty()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment