Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
c8bcd716
Commit
c8bcd716
authored
Dec 15, 2021
by
David Redondo
🏎
Committed by
Nate Graham
Dec 16, 2021
Browse files
SwitcherBackend: Only create the workaround window on wayland
Not needed on X
BUG:443968
(cherry picked from commit
cad50cb7
)
parent
294fd630
Changes
1
Show whitespace changes
Inline
Side-by-side
imports/activitymanager/switcherbackend.cpp
View file @
c8bcd716
...
...
@@ -229,7 +229,7 @@ void SwitcherBackend::switchToActivity(Direction direction)
void
SwitcherBackend
::
keybdSwitchedToAnotherActivity
()
{
m_lastInvokedAction
=
dynamic_cast
<
QAction
*>
(
sender
());
if
(
!
qGuiApp
->
focusWindow
()
&&
!
m_inputWindow
)
{
if
(
KWindowSystem
::
isPlatformWayland
()
&&
!
qGuiApp
->
focusWindow
()
&&
!
m_inputWindow
)
{
// create a new Window so the compositor sends us modifier info
m_inputWindow
=
new
QRasterWindow
();
m_inputWindow
->
setGeometry
(
0
,
0
,
1
,
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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