{
E_Client *ec;
- /* DBG("Shell Surface Destroy: %d", wl_resource_get_id(resource)); */
+ DBG("Shell Surface Destroy: %d", wl_resource_get_id(resource));
/* get the client for this resource */
if ((ec = wl_resource_get_user_data(resource)))
}
/* use the wl_client to get the pid * and set it in the netwm props */
- /* wl_client_get_credentials(client, &ec->netwm.pid, NULL, NULL); */
+ wl_client_get_credentials(client, &ec->netwm.pid, NULL, NULL);
/* set class */
eina_stringshare_replace(&ec->icccm.class, clas);
return;
}
- e_pixmap_ref(ep);
ec->netwm.ping = EINA_TRUE;
}
{
E_Client *ec;
+ /* DBG("XDG_SHELL: App Id: %s", id); */
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
}
/* use the wl_client to get the pid * and set it in the netwm props */
- /* wl_client_get_credentials(client, &ec->netwm.pid, NULL, NULL); */
+ wl_client_get_credentials(client, &ec->netwm.pid, NULL, NULL);
/* set class */
eina_stringshare_replace(&ec->icccm.class, id);
E_Comp_Data *cdata;
E_Binding_Event_Mouse_Button ev;
+ /* DBG("XDG_SHELL: Surface Resize"); */
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
y = ec->parent->client.y + ec->comp_data->popup.y;
}
- if ((ec->client.x != x) || (ec->client.y != y))
+// if ((ec->client.x != x) || (ec->client.y != y))
{
ec->client.x = x;
ec->client.y = y;
ec->changes.pos = EINA_TRUE;
}
- if ((ec->client.w != w) || (ec->client.h != h))
+// if ((ec->client.w != w) || (ec->client.h != h))
{
ec->client.w = w;
ec->client.h = h;
return;
}
- e_pixmap_ref(ep);
+ /* e_pixmap_ref(ep); */
ec->netwm.ping = EINA_TRUE;
}
return;
}
- e_pixmap_ref(ep);
+ /* e_pixmap_ref(ep); */
}
/* get the client data */