diff options
author | nicm <nicm> | 2020-06-05 11:20:51 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-06-05 11:20:51 +0000 |
commit | d919fa1ed0ea3b167ffc811abba26a2dbcd20631 (patch) | |
tree | 58ff37d45126b5f3f99e2535820e58257f6a6528 /tmux.h | |
parent | 03b2998abe7712324a1a2ca254167dcc1ce28e4d (diff) | |
download | rtmux-d919fa1ed0ea3b167ffc811abba26a2dbcd20631.tar.gz rtmux-d919fa1ed0ea3b167ffc811abba26a2dbcd20631.tar.bz2 rtmux-d919fa1ed0ea3b167ffc811abba26a2dbcd20631.zip |
Change how panes are resized so that the code is clearer and if the pane
is resized multiple times during one event loop, it is forced to resize
at the end. Also don't zoom/unzoom in switch-client if the pane hasn't
changed. GitHub issue 2260.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -928,9 +928,6 @@ struct window_pane { u_int sx; u_int sy; - u_int osx; - u_int osy; - u_int xoff; u_int yoff; @@ -951,7 +948,7 @@ struct window_pane { #define PANE_STATUSDRAWN 0x400 #define PANE_EMPTY 0x800 #define PANE_STYLECHANGED 0x1000 -#define PANE_RESIZED 0x2000 +#define PANE_RESIZENOW 0x2000 int argc; char **argv; @@ -969,6 +966,7 @@ struct window_pane { size_t base_offset; struct event resize_timer; + struct event force_timer; struct input_ctx *ictx; |