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
cad50cb7
Commit
cad50cb7
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
parent
119f55b2
Pipeline
#111027
passed with stage
in 5 minutes and 11 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
imports/activitymanager/switcherbackend.cpp
View file @
cad50cb7
...
...
@@ -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
);
...
...
David Redondo
🏎
@davidre
mentioned in commit
c8bcd716
·
Dec 16, 2021
mentioned in commit
c8bcd716
mentioned in commit c8bcd716800b1e842301fbef8a0adf16d9042eb1
Toggle commit list
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