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

@ -960,10 +960,10 @@ static bool handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t stat
base_height = size_hints.min_height;
}
if (base_width != con->base_width ||
base_height != con->base_height) {
con->base_width = base_width;
con->base_height = base_height;
if (base_width != con->window->base_width ||
base_height != con->window->base_height) {
con->window->base_width = base_width;
con->window->base_height = base_height;
DLOG("client's base_height changed to %d\n", base_height);
DLOG("client's base_width changed to %d\n", base_width);
changed = true;