fix X crash when trying to apply desktop window profile to client without desk

This commit is contained in:
Mike Blumenkrantz 2014-12-07 17:59:22 -05:00
parent 3e50ac6e27
commit 38f30c83af
1 changed files with 1 additions and 1 deletions

View File

@ -3976,7 +3976,7 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
}
}
if (!set)
if ((!set) && ec->desk)
{
eina_stringshare_replace(&ec->e.state.profile.set, ec->desk->window_profile);
e_client_desk_window_profile_wait_desk_set(ec, ec->desk);