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

List:       kde-commits
Subject:    kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-03-09 15:04:32
Message-ID: 20050309150432.B8C6C10B25 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Redo the fix for #95731 - when a window is manually raised above another
window, bring it up to that window's layer only if the layer is ActiveLayer
(i.e. fullscreen).
BUG: 100762


  M +5 -5      layers.cpp   2.40


--- kdebase/kwin/layers.cpp  #2.39:2.40
@@ -484,9 +484,9 @@ ClientList Workspace::constrainedStackin
         Layer l = (*it)->layer();
         // If a window is raised above some other window in the same window group
-        // which is in a higher layer, make sure it stays above that window (see #95731).
-        if(( l == NormalLayer || l == AboveLayer )
-            && !(*it)->isDock()
-            && minimum_layer.contains( (*it)->group())
-            && l < minimum_layer[ (*it)->group() ] )
+        // which is in the ActiveLayer (i.e. it's fulscreened), make sure it stays
+        // above that window (see #95731).
+        if( minimum_layer.contains( (*it)->group())
+            && minimum_layer[ (*it)->group() ] == ActiveLayer
+            && ( l == NormalLayer || l == AboveLayer ))
             {
             l = minimum_layer[ (*it)->group() ];


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

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