Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 778b7d03 authored by Martin Flöser's avatar Martin Flöser

Forward showing desktop only to rootInfo if it changed

There was a property change for whenever a window gets activated although
that doesn't change the state.

In addition a nullptr check for rootInfo is added for the future no
XWayland case.

Test Plan:
run xev -root to verify the property does not get updated

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision:
parent 311fe315
......@@ -1299,7 +1299,9 @@ void Workspace::focusToNull()
void Workspace::setShowingDesktop(bool showing)
const bool changed = showing != showing_desktop;
if (rootInfo() && changed) {
showing_desktop = showing;
AbstractClient *topDesk = nullptr;
Markdown is supported
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