unbreak action_cycle

This commit is contained in:
Sean Pringle
2014-09-23 16:04:26 +10:00
parent 6a70a405e6
commit f9fd35e5cb

View File

@@ -61,7 +61,7 @@ void action_cycle(void *data, int num, client *cli)
if (spot_stack_clients(cli->spot, cli->monitor, &order) > 1) if (spot_stack_clients(cli->spot, cli->monitor, &order) > 1)
{ {
int i; client *c = NULL; int i; client *c = NULL;
for_stack(&order, i, c) if (c->manage && c->transient == None && c->window != cli->window) for_stack_rev(&order, i, c) if (c->manage && c->transient == None && c->window != cli->window)
{ {
client_activate(c); client_activate(c);
break; break;