artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede0c0b
)
Ignore windows without a size set (may be used for pane only), from
author
nicm
<nicm@openbsd.org>
Thu, 6 Jan 2022 08:20:00 +0000
(08:20 +0000)
committer
nicm
<nicm@openbsd.org>
Thu, 6 Jan 2022 08:20:00 +0000
(08:20 +0000)
Anindya Mukherjee.
usr.bin/tmux/resize.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/resize.c
b/usr.bin/tmux/resize.c
index
bc141e5
..
5e22cf9
100644
(file)
--- a/
usr.bin/tmux/resize.c
+++ b/
usr.bin/tmux/resize.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: resize.c,v 1.4
8 2021/12/06 10:08:42
nicm Exp $ */
+/* $OpenBSD: resize.c,v 1.4
9 2022/01/06 08:20:00
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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 {