aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid_defs.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-27 14:15:08 +0100
committerGitHub <noreply@github.com>2019-01-27 14:15:08 +0100
commit8171e96b9640c54eb67a8e5d1082f1fd6e794f23 (patch)
tree7ef2ee67b4328b7e5478a74bfccc6d5ec6eb8d38 /src/nvim/grid_defs.h
parentf2398a766e094d74ab19f3037872abbc97c16728 (diff)
parentde16c0bf6445f92f2b6e92ba3253d581e5562178 (diff)
downloadrneovim-8171e96b9640c54eb67a8e5d1082f1fd6e794f23.tar.gz
rneovim-8171e96b9640c54eb67a8e5d1082f1fd6e794f23.tar.bz2
rneovim-8171e96b9640c54eb67a8e5d1082f1fd6e794f23.zip
Merge pull request #9551 from bfredl/multiterm
Fix :terminal resizing, and some multigrid size cleanup
Diffstat (limited to 'src/nvim/grid_defs.h')
-rw-r--r--src/nvim/grid_defs.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/grid_defs.h b/src/nvim/grid_defs.h
index 37d85ead0c..cf9e550f48 100644
--- a/src/nvim/grid_defs.h
+++ b/src/nvim/grid_defs.h
@@ -48,12 +48,8 @@ typedef struct {
// offsets for the grid relative to the global screen
int row_offset;
int col_offset;
-
- // grid size requested by the UI. Used for window grids only.
- int requested_rows;
- int requested_cols;
-
- int was_resized;
} ScreenGrid;
+#define SCREEN_GRID_INIT { 0, NULL, NULL, NULL, NULL, 0, 0, 0, 0 }
+
#endif // NVIM_GRID_DEFS_H