Move aspect_ratio from Con to Window.

relates to #665
This commit is contained in:
Ingo Bürk
2015-08-30 23:07:25 +02:00
parent f43a15acde
commit 344514bca5
5 changed files with 13 additions and 12 deletions

View File

@ -418,6 +418,9 @@ struct Window {
/* minimum increment size specified for the window (in pixels) */
int width_increment;
int height_increment;
/* aspect ratio from WM_NORMAL_HINTS (MPlayer uses this for example) */
double aspect_ratio;
};
/**
@ -579,9 +582,6 @@ struct Con {
double percent;
/* aspect ratio from WM_NORMAL_HINTS (MPlayer uses this for example) */
double aspect_ratio;
/* the x11 border pixel attribute */
int border_width;
int current_border_width;