Skip to content

Instantly share code, notes, and snippets.

@ThomasAdam
Created December 13, 2019 14:46
Show Gist options
  • Save ThomasAdam/28c59397aef022cc06cbf3e70ab4e7be to your computer and use it in GitHub Desktop.
Save ThomasAdam/28c59397aef022cc06cbf3e70ab4e7be to your computer and use it in GitHub Desktop.
[non-work/tmux]{1233}[0][master?] % git diff
diff --git a/resize.c b/resize.c
index 054b025f..7dab299b 100644
--- a/resize.c
+++ b/resize.c
@@ -254,7 +254,7 @@ recalculate_size(struct window *w)
}
}
if (sx == 0 || sy == 0)
- changed = 0;
+ changed = 1;
break;
case WINDOW_SIZE_SMALLEST:
sx = sy = UINT_MAX;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment