Commit beb2f224 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix window raising on Wayland

winId() doesn't work there, use windowHandle() instead
parent 3eb5ace9
Pipeline #249426 passed with stage
in 19 minutes and 23 seconds
......@@ -1295,7 +1295,7 @@ bool KMMainWidget::showSearchDialog()
}
mSearchWin->show();
KWindowSystem::activateWindow(mSearchWin->winId());
KWindowSystem::activateWindow(mSearchWin->windowHandle());
return true;
}
......
......@@ -172,7 +172,7 @@ void KMSystemTray::slotActivated()
KWindowSystem::setOnAllDesktops(mainWin->winId(), true);
}
KWindowSystem::activateWindow(mainWin->winId());
KWindowSystem::activateWindow(mainWin->windowHandle());
if (wasMinimized) {
kmkernel->raise();
......
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