static void
_e_shell_surface_configure_send(struct wl_resource *resource, uint32_t edges, int32_t width, int32_t height)
{
+ if (!resource)
+ return;
+
wl_shell_surface_send_configure(resource, edges, width, height);
}
/* DBG("WL_SHELL: Surface Configure: %d \t%d %d %d %d", */
/* wl_resource_get_id(resource), x, y, w, h); */
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
E_Client *ec;
uint32_t serial;
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
{
E_Client *ec;
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
{
E_Client *ec;
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
/* DBG("XDG_SHELL: Surface Configure Send: %d \t%d %d\tEdges: %d", */
/* wl_resource_get_id(resource), width, height, edges); */
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
/* DBG("XDG_SHELL: Surface Configure: %d \t%d %d %d %d", */
/* wl_resource_get_id(resource), x, y, w, h); */
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
E_Client *ec;
uint32_t serial;
+ if (!resource)
+ return;
+
/* get the client for this resource */
if (!(ec = wl_resource_get_user_data(resource)))
{
{
E_Client *ec;
+ if (!resource)
+ return;
+
/* DBG("XDG_SHELL: Map Surface: %d", wl_resource_get_id(resource)); */
TRACE_DS_BEGIN(SHELL:MAP);
/* DBG("XDG_SHELL: Unmap Surface: %d", wl_resource_get_id(resource)); */
+ if (!resource)
+ return;
+
TRACE_DS_BEGIN(SHELL:UNMAP);
/* get the client for this resource */