From bb44b9863c49c05e5d2d761e65981853ed42adcd Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 9 Jul 2023 17:01:04 +0300 Subject: twin: Minor code cleanup and refactoring Refactoring concerns active border code. Signed-off-by: Mavridis Philippe (cherry picked from commit 0339423ced3db53f9155c6c174d9508517358f9c) --- twin/layers.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'twin/layers.cpp') 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 ); -- cgit v1.2.1