[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 350826] [virtual box related?] Show desktop occasionally doesn't toggle on first invocat
From:       Thomas Lübking via KDE Bugzilla <bugzilla_noreply () kde
Date:       2015-11-27 21:55:24
Message-ID: bug-350826-17878-PaCsC7E5vV () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=350826

--- Comment #34 from Thomas Lübking <thomas.luebking@gmail.com> ---
Pheeewww.... the second patch didn't apply (otherwise we'd now have a problem)

This should do (no cnp error, the function isn't in the same file in 5.4, the
result should not even have compiled ;-)
You can omit the other two patches.

diff --git a/layers.cpp b/layers.cpp
index d8328cc..48711a1 100644
--- a/layers.cpp
+++ b/layers.cpp
@@ -808,6 +808,10 @@ Layer Client::layer() const

 Layer Client::belongsToLayer() const
 {
+    if (workspace()->showingDesktop()) {
+        qDebug() << "\'ID:" << window() << ";WMCLASS:" << resourceClass() <<
":"
+           << resourceName() << ";Caption:" << caption() << "\'" << geometry()
<< isDesktop();
+    }
     // NOTICE while showingDesktop, desktops move to the AboveLayer
     // (interchangeable w/ eg. yakuake etc. which will at first remain
visible)
     // and the docks move into the NotificationLayer (which is between Above-
and

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic