[Xfce4-commits] r22938 - xfwm4/trunk/src
Olivier Fourdan
olivier at xfce.org
Tue Aug 29 19:49:16 UTC 2006
Author: olivier
Date: 2006-08-29 19:49:14 +0000 (Tue, 29 Aug 2006)
New Revision: 22938
Modified:
xfwm4/trunk/src/stacking.c
Log:
Pass focus to window on top of stack when lowering the focused window
Modified: xfwm4/trunk/src/stacking.c
===================================================================
--- xfwm4/trunk/src/stacking.c 2006-08-29 17:13:38 UTC (rev 22937)
+++ xfwm4/trunk/src/stacking.c 2006-08-29 19:49:14 UTC (rev 22938)
@@ -522,7 +522,10 @@
clientApplyStackList (screen_info);
clientSetNetClientList (screen_info, display_info->atoms[NET_CLIENT_LIST_STACKING], screen_info->windows_stack);
clientPassGrabMouseButton (NULL);
- clientPassFocus (screen_info, c, NULL);
+ if (c == clientGetFocus())
+ {
+ clientFocusTop (screen_info, c->win_layer);
+ }
if (screen_info->last_raise == c)
{
screen_info->last_raise = NULL;
More information about the Xfce4-commits
mailing list