Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
beb2f224
Commit
beb2f224
authored
Oct 17, 2022
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmmainwidget.cpp
View file @
beb2f224
...
...
@@ -1295,7 +1295,7 @@ bool KMMainWidget::showSearchDialog()
}
mSearchWin
->
show
();
KWindowSystem
::
activateWindow
(
mSearchWin
->
win
I
d
());
KWindowSystem
::
activateWindow
(
mSearchWin
->
wind
owHandle
());
return
true
;
}
...
...
src/kmsystemtray.cpp
View file @
beb2f224
...
...
@@ -172,7 +172,7 @@ void KMSystemTray::slotActivated()
KWindowSystem
::
setOnAllDesktops
(
mainWin
->
winId
(),
true
);
}
KWindowSystem
::
activateWindow
(
mainWin
->
win
I
d
());
KWindowSystem
::
activateWindow
(
mainWin
->
wind
owHandle
());
if
(
wasMinimized
)
{
kmkernel
->
raise
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment