Author: olivier Date: 2009-01-11 16:29:13 +0000 (Sun, 11 Jan 2009) New Revision: 29163
Modified: xfwm4/trunk/ChangeLog xfwm4/trunk/NEWS xfwm4/trunk/src/focus.c Log: * src/focus.c: Do not place unfocused windows on top of the focused window, when not focusing new windows (Bug #4795) Modified: xfwm4/trunk/ChangeLog =================================================================== --- xfwm4/trunk/ChangeLog 2009-01-11 16:02:32 UTC (rev 29162) +++ xfwm4/trunk/ChangeLog 2009-01-11 16:29:13 UTC (rev 29163) @@ -1,3 +1,8 @@ +2009-01-11 olivier + + * src/focus.c: Do not place unfocused windows on top of the focused + window, when not focusing new windows (Bug #4795) + 2009-01-07 olivier * settings-dialogs/xfwm4-settings.c: Remove markup not supported Modified: xfwm4/trunk/NEWS =================================================================== --- xfwm4/trunk/NEWS 2009-01-11 16:02:32 UTC (rev 29162) +++ xfwm4/trunk/NEWS 2009-01-11 16:29:13 UTC (rev 29163) @@ -8,11 +8,13 @@ - Remove maximization if a client updates its size max size hint (Bug #4706). - String review by Josh Saddler <nightmo...@gentoo.org> (Bug #4703). - Fix fill horizontally and vertically not working as expected (Bug #4712). -- Prevent "fill" from expanding beyound physical monitor. +- Prevent "fill" from expanding beyond physical monitor. - Do not mark gtk+ stock labels as translatable (Bug #4722). - Change default shadow radius and position. - Fix some controls not being localized (Bug #4740). - Remove markup not supported by xfce_message_dialog() (Bug #4786). +- Avoid placing unfocused windows on top of the current focused window when not + focusing new windows (Bug #4795). 4.5.92 (Xfce 4.6beta2) ====================== Modified: xfwm4/trunk/src/focus.c =================================================================== --- xfwm4/trunk/src/focus.c 2009-01-11 16:02:32 UTC (rev 29162) +++ xfwm4/trunk/src/focus.c 2009-01-11 16:29:13 UTC (rev 29163) @@ -199,10 +199,13 @@ { Client *c2 = clientGetFocus(); - if ((prevented) && (c2 != NULL) && (c2->win_layer == c->win_layer)) + if ((c2 != NULL) && (c2->win_layer == c->win_layer)) { - TRACE ("clientFocusNew: Setting WM_STATE_DEMANDS_ATTENTION flag on \"%s\" (0x%lx)", c->name, c->window); - FLAG_SET (c->flags, CLIENT_FLAG_DEMANDS_ATTENTION); + if (prevented) + { + TRACE ("clientFocusNew: Setting WM_STATE_DEMANDS_ATTENTION flag on \"%s\" (0x%lx)", c->name, c->window); + FLAG_SET (c->flags, CLIENT_FLAG_DEMANDS_ATTENTION); + } clientSortRing(c); clientLower (c, c2->frame); clientSortRing(c2); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits