don't resize manager when manager has same size as set size

This commit is contained in:
Mike Blumenkrantz 2013-07-09 09:33:26 +01:00
parent e0b38fdce5
commit a67d211e09
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ e_manager_resize(E_Manager *man, int w, int h)
E_OBJECT_CHECK(man);
E_OBJECT_TYPE_CHECK(man, E_MANAGER_TYPE);
if ((man->w == w) && (man->h == h)) return;
man->w = w;
man->h = h;
if (man->root != man->win)