e comp - stop trying to set size again and again to the same

i found e spinning at 100% just with 1 windows in wayland... open 2
terminology wins and move mouse form one to the other... 100% cpu. e
was moving seemingly a cursor client window? to the same coord again
and again as it was hidden...

this fixes that. no more spinning cpu
devs/bu5hm4n/meson_wip
Carsten Haitzler 5 years ago
parent 70d08a770e
commit 6e882d2e4f
  1. 9
      src/bin/e_comp_object.c

@ -1212,9 +1212,12 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
/* do nothing until client idler loops */
if (!cw->ec->maximized)
{
cw->ec->w = w, cw->ec->h = h;
cw->ec->changes.size = 1;
EC_CHANGED(cw->ec);
if ((w != cw->ec->w) || (h != cw->ec->h))
{
cw->ec->w = w, cw->ec->h = h;
cw->ec->changes.size = 1;
EC_CHANGED(cw->ec);
}
}
return;
}

Loading…
Cancel
Save