Author: olivier Date: 2008-11-27 13:41:33 +0000 (Thu, 27 Nov 2008) New Revision: 28925
Modified: xfwm4/trunk/ChangeLog xfwm4/trunk/src/transients.c Log: * src/transients.c: Do not consider all windows of the same group for modality (See comment in Bug #3586) Modified: xfwm4/trunk/ChangeLog =================================================================== --- xfwm4/trunk/ChangeLog 2008-11-27 13:27:18 UTC (rev 28924) +++ xfwm4/trunk/ChangeLog 2008-11-27 13:41:33 UTC (rev 28925) @@ -1,5 +1,10 @@ 2008-11-27 olivier + * src/transients.c: Do not consider all windows of the same group for + modality (See comment in Bug #3586) + +2008-11-27 olivier + * src/focus.c, src/focus.h: Only focus the fallback window when transitioning focus from a destroy or unmap (Should fix Bug #4652) Do some small cleanup, remove older code ifdef'ed. Modified: xfwm4/trunk/src/transients.c =================================================================== --- xfwm4/trunk/src/transients.c 2008-11-27 13:27:18 UTC (rev 28924) +++ xfwm4/trunk/src/transients.c 2008-11-27 13:41:33 UTC (rev 28925) @@ -134,7 +134,13 @@ if (FLAG_TEST (c1->flags, CLIENT_FLAG_STATE_MODAL) && (c1->type & WINDOW_REGULAR_FOCUSABLE) && (c1->serial >= c2->serial)) { - return (clientIsTransientFor (c1, c2) || clientSameGroup (c1, c2)); + /* + * We used to consider all windows of the same group here + * (ie. "clientSameGroup (c1, c2)") but that seems too + * wide so we restric modality to transient relationship + * for now. + */ + return (clientIsTransientFor (c1, c2)); } return FALSE; } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits