diff options
author | nicm <nicm> | 2021-08-27 17:15:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-27 17:15:57 +0000 |
commit | fd756a150b43d319d08ac4117f34edef9e0438c4 (patch) | |
tree | 003f77b6051466412eba1fa0260b9e95c89e3923 /window.c | |
parent | 24636be42b4b0463afe5c72e1d982f28729a0579 (diff) | |
download | rtmux-fd756a150b43d319d08ac4117f34edef9e0438c4.tar.gz rtmux-fd756a150b43d319d08ac4117f34edef9e0438c4.tar.bz2 rtmux-fd756a150b43d319d08ac4117f34edef9e0438c4.zip |
Allow control mode clients to set a hard limit on the window width and
height, GitHub issue 2594.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -318,6 +318,8 @@ window_create(u_int sx, u_int sy, u_int xpixel, u_int ypixel) w->sx = sx; w->sy = sy; + w->manual_sx = sx; + w->manual_sy = sy; w->xpixel = xpixel; w->ypixel = ypixel; |