summaryrefslogtreecommitdiffstats
path: root/twin/layers.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-07-09 17:01:04 +0300
committerMavridis Philippe <[email protected]>2023-07-10 12:10:54 +0300
commitbb44b9863c49c05e5d2d761e65981853ed42adcd (patch)
tree14222a2223926bd98b908ca8286c7dcb2289fca3 /twin/layers.cpp
parent84c43976446c4694049cc6439e961b718bc84fca (diff)
downloadtdebase-bb44b9863c49c05e5d2d761e65981853ed42adcd.tar.gz
tdebase-bb44b9863c49c05e5d2d761e65981853ed42adcd.zip
twin: Minor code cleanup and refactoring
Refactoring concerns active border code. Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 0339423ced3db53f9155c6c174d9508517358f9c)
Diffstat (limited to 'twin/layers.cpp')
-rw-r--r--twin/layers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/layers.cpp b/twin/layers.cpp
index 17068a675..adc9bd436 100644
--- a/twin/layers.cpp
+++ b/twin/layers.cpp
@@ -424,7 +424,7 @@ void Workspace::raiseClientWithinApplication( Client* c )
StackingUpdatesBlocker blocker( this );
// ignore mainwindows
-
+
// first try to put it above the top-most window of the application
for( ClientList::Iterator it = unconstrained_stacking_order.fromLast();
it != unconstrained_stacking_order.end();
@@ -596,10 +596,10 @@ ClientList Workspace::constrainedStackingOrder()
minimum_layer[ (*it)->group() ] = l;
layer[ l ].append( *it );
}
- ClientList stacking;
+ ClientList stacking;
for( Layer lay = FirstLayer;
lay < NumLayers;
- ++lay )
+ ++lay )
stacking += layer[ lay ];
#if 0
kdDebug() << "stacking2:" << endl;
@@ -757,7 +757,7 @@ void Client::restackWindow( Window /*above TODO */, int detail, NET::RequestSour
if( send_event )
sendSyntheticConfigureNotify();
}
-
+
void Client::setKeepAbove( bool b )
{
b = rules()->checkKeepAbove( b );