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

List:       kde-commits
Subject:    KDE/kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-06-29 9:52:29
Message-ID: 1120038749.719636.23048.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 429892 by lunakl:

Keep a fullscreen window on top not only if its has a transient
on top and active, but if it has active and on top any window
in its group. Let's see if it breaks something.
BUG: 108020



 M  +2 -2      layers.cpp  


--- trunk/KDE/kdebase/kwin/layers.cpp #429891:429892
@@ -712,8 +712,8 @@
     const Client* ac = workspace()->mostRecentlyActivatedClient(); // instead of \
                activeClient() - avoids flicker
     const Client* top = workspace()->topClientOnDesktop( desktop(), true );
     if( isFullScreen() && ac != NULL && top != NULL
-        && ( ac == this || this->hasTransient( ac, true ))
-        && ( top == this || this->hasTransient( top, true )))
+        && ( ac == this || this->group() == ac->group())
+        && ( top == this || this->group() == top->group()))
         return ActiveLayer;
     if( keepAbove())
         return AboveLayer;


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

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