diff options
author | nicm <nicm> | 2022-01-06 08:20:00 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-01-06 08:20:00 +0000 |
commit | b2b94dcba73a62e2949fb98aee097dbaea658760 (patch) | |
tree | 78899538029c897aeea39f5a781004ee0fba8e8f /resize.c | |
parent | e6e3c75ed70adece8b1cf93017f6f359d022bdb0 (diff) | |
download | rtmux-b2b94dcba73a62e2949fb98aee097dbaea658760.tar.gz rtmux-b2b94dcba73a62e2949fb98aee097dbaea658760.tar.bz2 rtmux-b2b94dcba73a62e2949fb98aee097dbaea658760.zip |
Ignore windows without a size set (may be used for pane only), from
Anindya Mukherjee.
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ clients_calculate_size(int type, int current, struct client *c, cw = NULL; /* Work out this client's size. */ - if (cw != NULL) { + if (cw != NULL && cw->sx != 0 && cw->sy != 0) { cx = cw->sx; cy = cw->sy; } else { |