Skip to content
Snippets Groups Projects
Commit bed28f5e authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Rework (read simplify) focus passing,

Update focus when lowering a window (as per user request)


(Old svn revision: 11906)
parent 8da8403d
No related branches found
No related tags found
No related merge requests found
......@@ -288,10 +288,6 @@ clientPassFocus (ScreenInfo *screen_info, Client * c)
clientRaise (c2);
}
}
else
{
new_focus = clientGetNext (c, 0);
}
}
}
else if (XQueryPointer (myScreenGetXDisplay (screen_info), screen_info->xroot, &dr, &window, &rx, &ry, &wx, &wy, &mask))
......
......@@ -434,6 +434,7 @@ clientLower (Client * c)
*/
clientApplyStackList (screen_info);
clientSetNetClientList (screen_info, net_client_list_stacking, screen_info->windows_stack);
clientPassFocus (screen_info, c);
if (screen_info->last_raise == c)
{
screen_info->last_raise = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment