apply client size based on correct remember value, only apply if value != 0

ref T999
This commit is contained in:
Mike Blumenkrantz 2014-12-08 17:06:13 -05:00
parent fc16acfb4a
commit 4da2b0885f
1 changed files with 4 additions and 2 deletions

View File

@ -714,8 +714,10 @@ _e_remember_cb_hook_pre_post_fetch(void *data __UNUSED__, E_Client *ec)
w = ec->client.w;
h = ec->client.h;
ec->client.w = rem->prop.w;
ec->client.h = rem->prop.h;
if (rem->prop.pos_w)
ec->client.w = rem->prop.pos_w;
if (rem->prop.pos_h)
ec->client.h = rem->prop.pos_h;
/* we can trust internal windows */
if (ec->internal)
{