Move base_width and base_height from Con to Window

relates to #665
This commit is contained in:
Ingo Bürk
2015-08-30 22:48:37 +02:00
parent b68a400abf
commit 80ce13e44e
3 changed files with 15 additions and 14 deletions

View File

@ -409,6 +409,11 @@ struct Window {
/** Depth of the window */
uint16_t depth;
/* the wanted size of the window, used in combination with size
* increments (see below). */
int base_width;
int base_height;
};
/**
@ -572,10 +577,6 @@ struct Con {
/* 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;
int base_height;
/* the x11 border pixel attribute */
int border_width;