set E_Exec_Instance desktop during client idler if none present

ref T2284
This commit is contained in:
Mike Blumenkrantz 2015-04-13 16:16:37 -04:00
parent 5d6ca39e7d
commit 785cb47b89
1 changed files with 5 additions and 0 deletions

View File

@ -2147,6 +2147,11 @@ _e_client_eval(E_Client *ec)
e_comp_object_frame_icon_update(ec->frame);
if ((ec->new_client || ec->re_manage) && ec->desktop && (!ec->exe_inst))
e_exec_phony(ec);
else if (ec->desktop && (!ec->exe_inst->desktop))
{
efreet_desktop_ref(ec->desktop);
ec->exe_inst->desktop = ec->desktop;
}
ec->changes.icon = 0;
prop |= E_CLIENT_PROPERTY_ICON;
}