Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2019-10-19 16:01:24 +01:00
commit 1b96902d73

View File

@ -210,7 +210,7 @@ layout_parse(struct window *w, const char *layout)
}
break;
}
if (lc->sx != sx || lc->sy != sy) {
if (lc->type != LAYOUT_WINDOWPANE && (lc->sx != sx || lc->sy != sy)) {
log_debug("fix layout %u,%u to %u,%u", lc->sx, lc->sy, sx,sy);
layout_print_cell(lc, __func__, 0);
lc->sx = sx - 1; lc->sy = sy - 1;