Respect max size in WM_NORMAL_HINTS
This commit is contained in:
committed by
Orestis Floros
parent
2b898f4c90
commit
690e6d1f0e
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user