[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kwin_composite
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2007-04-15 13:28:19
Message-ID: 1176643699.910577.14390.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 654210 by lunakl:
Fix stacking order of electric borders.
M +5 -5 layers.cpp
--- branches/work/kwin_composite/layers.cpp #654209:654210
@@ -142,6 +142,11 @@
// it ensures that no client will be ever shown above override-redirect
// windows (e.g. popups).
new_stack[ pos++ ] = supportWindow->winId();
+ for( int i = 0;
+ i < ELECTRIC_COUNT;
+ ++i )
+ if( electric_windows[ i ] != None )
+ new_stack[ pos++ ] = electric_windows[ i ];
int topmenu_space_pos = 1; // not 0, that's supportWindow !!!
for ( int i = stacking_order.size() - 1; i >= 0; i-- )
{
@@ -158,11 +163,6 @@
new_stack[ topmenu_space_pos ] = topmenu_space->winId();
++pos;
}
- for( int i = 0;
- i < ELECTRIC_COUNT;
- ++i )
- if( electric_windows[ i ] != None )
- new_stack[ pos++ ] = electric_windows[ i ];
// TODO isn't it too inefficient to restack always all clients?
// TODO don't restack not visible windows?
assert( new_stack[ 0 ] == supportWindow->winId());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic