SOURCES: kdebase-grouplayer.patch (NEW) - group all windows belong...

arekm arekm at pld-linux.org
Sat Dec 16 15:37:19 CET 2006


Author: arekm                        Date: Sat Dec 16 14:37:19 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- group all windows belonging to single app

---- Files affected:
SOURCES:
   kdebase-grouplayer.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kdebase-grouplayer.patch
diff -u /dev/null SOURCES/kdebase-grouplayer.patch:1.1
--- /dev/null	Sat Dec 16 15:37:19 2006
+++ SOURCES/kdebase-grouplayer.patch	Sat Dec 16 15:37:13 2006
@@ -0,0 +1,26 @@
+Index: layers.cpp
+===================================================================
+RCS file: /home/kde/kdebase/kwin/layers.cpp,v
+retrieving revision 2.36
+diff -u -3 -p -r2.36 layers.cpp
+--- kdebase/kwin/layers.cpp	30 Nov 2004 14:26:09 -0000	2.36
++++ kdebase/kwin/layers.cpp	2 Jan 2005 16:54:34 -0000
+@@ -334,6 +334,18 @@ void Workspace::raiseClient( Client* c )
+ 
+     StackingUpdatesBlocker blocker( this );
+ 
++    // Raise all members in the group
++    for( ClientList::ConstIterator it = c->group()->members().begin();
++         it != c->group()->members().end();
++         ++it )
++      {
++      if( c == *it )
++        continue;
++        
++      unconstrained_stacking_order.remove( *it );
++      unconstrained_stacking_order.append( *it );
++      }
++
+     if( c->isTransient())
+         {
+         ClientList mainclients = ensureStackingOrder( c->mainClients());
================================================================


More information about the pld-cvs-commit mailing list