discomfitor pushed a commit to branch enlightenment-0.20. http://git.enlightenment.org/core/enlightenment.git/commit/?id=b1e4f3d1da1533bf751cacbdc0eb1b95be1d44fa
commit b1e4f3d1da1533bf751cacbdc0eb1b95be1d44fa Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri May 6 13:52:10 2016 -0400 flag wl surfaces as internal during create() based on pid matching fix T3596 --- src/bin/e_comp_wl.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 533fb6f..71726ac 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1479,15 +1479,14 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso ec = e_client_new(ep, 0, 0); } - if (ec) - { - if (ec->new_client) - e_comp->new_clients--; - ec->new_client = 0; - if ((!ec->client.w) && (ec->client.h)) - ec->client.w = ec->client.h = 1; - ec->comp_data->surface = res; - } + if (ec->new_client) + e_comp->new_clients--; + ec->new_client = 0; + if ((!ec->client.w) && (ec->client.h)) + ec->client.w = ec->client.h = 1; + ec->comp_data->surface = res; + ec->netwm.pid = pid; + ec->internal = pid == getpid(); /* set reference to pixmap so we can fetch it later */ DBG("\tUsing Client: %p", ec); --