do not attempt to resize clients to 0x0 during res restore

ACK--
This commit is contained in:
Mike Blumenkrantz 2016-03-14 14:04:51 -04:00
parent d10a03fcb2
commit 8d626e490b
1 changed files with 3 additions and 1 deletions

View File

@ -3117,7 +3117,9 @@ e_client_res_change_geometry_restore(E_Client *ec)
x = zx + zw - w;
if ((y + h) > (zy + zh))
y = zy + zh - h;
evas_object_geometry_set(ec->frame, x, y, w, h);
evas_object_move(ec->frame, x, y);
if (w && h)
evas_object_resize(ec->frame, w, h);
}
memcpy(&ec->pre_res_change, &pre_res_change, sizeof(pre_res_change));
}