e - fix crash in desktop lookup+fixup where exe_inst is null

This commit is contained in:
Carsten Haitzler 2015-06-14 17:50:14 +09:00
parent 4e5521b4d8
commit f1bd800037
1 changed files with 1 additions and 1 deletions

View File

@ -2159,7 +2159,7 @@ _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))
else if (ec->desktop && ec->exe_inst && (!ec->exe_inst->desktop))
{
efreet_desktop_ref(ec->desktop);
ec->exe_inst->desktop = ec->desktop;