only set icon change flag and remember change if window name/class is actually different

This commit is contained in:
Mike Blumenkrantz 2013-06-10 13:35:19 +01:00
parent 38615a27d4
commit 17339af862
1 changed files with 6 additions and 5 deletions

View File

@ -7169,13 +7169,14 @@ _e_border_eval0(E_Border *bd)
if (!((bd->client.icccm.name == pname) &&
(bd->client.icccm.class == pclass)))
bd->changes.icon = 1;
{
bd->changes.icon = 1;
rem_change = 1;
}
if (pname) eina_stringshare_del(pname);
if (pclass) eina_stringshare_del(pclass);
eina_stringshare_del(pname);
eina_stringshare_del(pclass);
bd->client.icccm.fetch.name_class = 0;
bd->changes.icon = 1;
rem_change = 1;
}
if (bd->changes.prop || bd->client.icccm.fetch.state)
{