if (!ec)
{
/* no client exists for this pixmap yet */
- if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 0)))
+ if (!(ec = e_client_new(NULL, ep, 0, 0)))
{
ERR("Failed to create new client");
wl_resource_post_no_memory(resource);
if (!ec)
{
/* no client found. not internal window. maybe external client app ? */
- if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 0)))
+ if (!(ec = e_client_new(NULL, ep, 0, 0)))
{
wl_resource_post_error(surface_resource,
WL_DISPLAY_ERROR_INVALID_OBJECT,
if (!ec)
{
/* no client found. not internal window. maybe external client app ? */
- if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 0)))
+ if (!(ec = e_client_new(NULL, ep, 0, 0)))
{
wl_resource_post_error(surface_resource,
WL_DISPLAY_ERROR_INVALID_OBJECT,
if (!ec)
{
/* no client found. create one */
- if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 1)))
+ if (!(ec = e_client_new(NULL, ep, 0, 1)))
{
wl_resource_post_error(surface_resource,
WL_DISPLAY_ERROR_INVALID_OBJECT,