frame_hide(c->frame);
}
}
+
+ if (!focus_client)
+ focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
}
static void get_row_col(guint d, guint *r, guint *c)
if (rows * cols >= screen_num_desktops + cols)
rows--;
} else if (rows == 0) {
- rows = screen_num_desktops / rows;
+ rows = screen_num_desktops / cols;
if (cols * rows < screen_num_desktops)
rows++;
if (cols * rows >= screen_num_desktops + rows)