Allow control mode clients to set a hard limit on the window width and

height, GitHub issue 2594.
This commit is contained in:
nicm
2021-08-27 17:15:57 +00:00
parent 24636be42b
commit fd756a150b
7 changed files with 174 additions and 44 deletions

View File

@ -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;