aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-10-19 16:01:24 +0100
committerThomas Adam <thomas@xteddy.org>2019-10-19 16:01:24 +0100
commit1b96902d730fe46fc7d4957a3a7e46e08bb1526f (patch)
tree6ad4f9dc3564bf8b3e43fd6d33a1c0441fddedcb
parentfb7ce5b5d509db244111e130224f366ced28b228 (diff)
parent2cb268d51b71d74cf32e9cd1f67892681a9563e1 (diff)
downloadrtmux-1b96902d730fe46fc7d4957a3a7e46e08bb1526f.tar.gz
rtmux-1b96902d730fe46fc7d4957a3a7e46e08bb1526f.tar.bz2
rtmux-1b96902d730fe46fc7d4957a3a7e46e08bb1526f.zip
Merge branch 'obsd-master'
-rw-r--r--layout-custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout-custom.c b/layout-custom.c
index b049f482..d7371292 100644
--- a/layout-custom.c
+++ b/layout-custom.c
@@ -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;