flag wl surfaces as internal during create() based on pid matching

fix T3596
This commit is contained in:
Mike Blumenkrantz 2016-05-06 13:52:10 -04:00
parent 66a3fcb013
commit 411f378998
1 changed files with 1 additions and 0 deletions

View File

@ -1610,6 +1610,7 @@ _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();
/* set reference to pixmap so we can fetch it later */
DBG("\tUsing Client: %p", ec);