really an error.
When we call shell_surface_parent_set with a NULL parent resource,
then there is No reason to try and find the pixmap window of a NULL
parent. Avoid that function call and just set the appropriate
properties and get out.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
E_Client *pc;
uint64_t pwin = 0;
- if (!parent_resource) pp = NULL;
- /* get pixmap from parent */
+ if (!parent_resource)
+ {
+ ec->icccm.fetch.transient_for = EINA_FALSE;
+ ec->icccm.transient_for = 0;
+ ec->parent = NULL;
+ return;
+ }
else if (!(pp = wl_resource_get_user_data(parent_resource)))
{
ERR("Could not get parent resource pixmap");