Respect max size in WM_NORMAL_HINTS

This commit is contained in:
Thomas Fischer
2018-09-13 16:16:45 -07:00
committed by Orestis Floros
parent 2b898f4c90
commit 690e6d1f0e
5 changed files with 110 additions and 0 deletions

View File

@ -477,6 +477,10 @@ struct Window {
int min_width;
int min_height;
/* Maximum size specified for the window. */
int max_width;
int max_height;
/* aspect ratio from WM_NORMAL_HINTS (MPlayer uses this for example) */
double aspect_ratio;
};