Improve window cycling behavior when maxv/maxh/max windows overlap.
This commit is contained in:
3
action.c
3
action.c
@@ -58,11 +58,14 @@ void action_cycle(void *data, int num, client *cli)
|
||||
{
|
||||
if (!cli) return;
|
||||
STACK_INIT(lower);
|
||||
if (spot_count_windows(cli->spot, cli->monitor) > 1)
|
||||
{
|
||||
spot_focus_top_window(cli->spot, cli->monitor, cli->window);
|
||||
client_stack_family(cli, &lower);
|
||||
XLowerWindow(display, lower.windows[0]);
|
||||
XRestackWindows(display, lower.windows, lower.depth);
|
||||
}
|
||||
}
|
||||
|
||||
void action_raise_nth(void *data, int num, client *cli)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user