aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-02 16:17:44 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-02 16:17:44 +0100
commitaf69289e0ea2b4af80206bcde0574358fa1b9169 (patch)
tree6a66f17f4912c48f0160ceb5b84aa936fe2eb391 /tmux.h
parentcb1131a29481246c9cb9b68cb8591cc747fcdd9a (diff)
downloadrtmux-af69289e0ea2b4af80206bcde0574358fa1b9169.tar.gz
rtmux-af69289e0ea2b4af80206bcde0574358fa1b9169.tar.bz2
rtmux-af69289e0ea2b4af80206bcde0574358fa1b9169.zip
Clamping to area needs to use the offset without the status line, since that is
where the window offsets are based.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 15a8506f..a1f6d924 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1321,6 +1321,8 @@ struct tty_ctx {
/* Target region (usually pane) offset and size. */
u_int xoff;
u_int yoff;
+ u_int rxoff;
+ u_int ryoff;
u_int sx;
u_int sy;