Store aspect_ratio instead of weird proportional_{width,height} (Thanks phillip)
This commit only goes to “next” because I am not sure whether it actually makes things better in all cases and want to give it some testing first. There was no documented reason behind using the proportional_{width,height} variables, so I suppose that code was just stupidity on my part (it was written merely a month after I started this project in 2009). fixes #1032
This commit is contained in:
@ -507,10 +507,8 @@ struct Con {
|
||||
|
||||
double percent;
|
||||
|
||||
/* proportional width/height, calculated from WM_NORMAL_HINTS, used to
|
||||
* apply an aspect ratio to windows (think of MPlayer) */
|
||||
int proportional_width;
|
||||
int proportional_height;
|
||||
/* aspect ratio from WM_NORMAL_HINTS (MPlayer uses this for example) */
|
||||
double aspect_ratio;
|
||||
/* the wanted size of the window, used in combination with size
|
||||
* increments (see below). */
|
||||
int base_width;
|
||||
|
Reference in New Issue
Block a user