From 8647f871999dfeb0c08e56c6b75fbb4a1ca1631c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 26 Aug 2016 10:51:20 -0400 Subject: [PATCH] ignore xwl clients when flagging wl surfaces as internal fix T4430 --- src/bin/e_comp_wl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index ffe031468..05c1bc9f6 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1784,7 +1784,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso _e_comp_wl_surface_destroy); wl_client_get_credentials(client, &pid, NULL, NULL); - if (pid == getpid()) //internal! + if ((client != e_comp_wl->xwl_client) && (pid == getpid())) //internal! ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, (int64_t)id); if (ec) { @@ -1818,7 +1818,8 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso ec->client.w = ec->client.h = 1; ec->comp_data->surface = res; ec->netwm.pid = pid; - ec->internal = pid == getpid(); + if (client != e_comp_wl->xwl_client) + ec->internal = pid == getpid(); /* set reference to pixmap so we can fetch it later */ DBG("\tUsing Client: %p", ec);