]> code.delx.au - spectrwm/blobdiff - scrotwm.c
Keep focus on right window when cycling stack order. This does flicker
[spectrwm] / scrotwm.c
index ae837cd28000dcbb631576c59d5e5af97a1dbb87..997e6be15438facf6f8ba9e787478358e274cd6c 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -603,6 +603,7 @@ cycle_layout(union arg *args)
        ws[current_ws].cur_layout++;
        if (ws[current_ws].cur_layout->l_stack == NULL)
                ws[current_ws].cur_layout = &layouts[0];
+       ignore_enter = 1;
 
        stack();
 }