Author: olivier
Date: 2007-04-20 21:30:53 +0000 (Fri, 20 Apr 2007)
New Revision: 25620

Modified:
   xfwm4/branches/xfce_4_4/NEWS
   xfwm4/branches/xfce_4_4/src/transients.c
Log:
Transients for group shouldn't apply to other transients, or it breaks stacking 
for some apps, noticeably mozilla "save as" dialog...


Modified: xfwm4/branches/xfce_4_4/NEWS
===================================================================
--- xfwm4/branches/xfce_4_4/NEWS        2007-04-20 21:28:56 UTC (rev 25619)
+++ xfwm4/branches/xfce_4_4/NEWS        2007-04-20 21:30:53 UTC (rev 25620)
@@ -1,6 +1,8 @@
 4.4.2
 =====
 
+- Transients for group shouldn't apply to other transients, or it breaks 
+  stacking for some apps, noticeably mozilla "save as" dialog...
 - Fix typo breaking compilation on systems without XShape 1.1 support
 
 4.4.1

Modified: xfwm4/branches/xfce_4_4/src/transients.c
===================================================================
--- xfwm4/branches/xfce_4_4/src/transients.c    2007-04-20 21:28:56 UTC (rev 
25619)
+++ xfwm4/branches/xfce_4_4/src/transients.c    2007-04-20 21:30:53 UTC (rev 
25620)
@@ -109,7 +109,12 @@
         {
             return (c1->transient_for == c2->window);
         }
-        else if (c2->transient_for != c2->screen_info->xroot)
+        /*
+         * Transients for group shouldn't apply to other transients, or 
+         * it breaks stacking for some apps, noticeably mozilla "save as" 
+         * dialog...
+         */
+        else if (c2->transient_for == None)
         {
             return (clientSameGroup (c1, c2));
         }

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to