From 7b8ad92604d425da4afda43933fc0d2a42f85b6c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 28 Aug 2014 12:49:50 -0400 Subject: [PATCH] set X pixmap size on client init --- src/bin/e_comp_x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 02ed339d6..a928e28ad 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -200,8 +200,8 @@ _e_comp_x_client_new_helper(E_Client *ec) } ec->new_client ^= ec->override; - ec->w = ec->client.w = ec->comp_data->initial_attributes.w; - ec->h = ec->client.h = ec->comp_data->initial_attributes.h; + ec->comp_data->pw = ec->w = ec->client.w = ec->comp_data->initial_attributes.w; + ec->comp_data->ph = ec->h = ec->client.h = ec->comp_data->initial_attributes.h; ec->changes.size = 1; if (ec->override) ec->comp_data->pw = ec->w, ec->comp_data->ph = ec->h;