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 11:39:55 +0300
commit0339423ced3db53f9155c6c174d9508517358f9c (patch)
tree50010eac860f76137c71f3fb9f04498130812159 /twin/layers.cpp
parentbecae3055bfd5da737f63d5558695030db91a3a9 (diff)
downloadtdebase-0339423ced3db53f9155c6c174d9508517358f9c.tar.gz
tdebase-0339423ced3db53f9155c6c174d9508517358f9c.zip
twin: Minor code cleanup and refactoring
Refactoring concerns active border code. Signed-off-by: Mavridis Philippe <[email protected]>
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 );