e_comp_wl: added code to set netwm.pid in surface_create callback function 30/58130/1 accepted/tizen/mobile/20160128.011400 accepted/tizen/tv/20160128.011423 accepted/tizen/wearable/20160128.011442 submit/tizen/20160127.230257
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 27 Jan 2016 22:59:29 +0000 (07:59 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 27 Jan 2016 22:59:29 +0000 (07:59 +0900)
Change-Id: I5817368cec6320bb660f4d634565535f204add7c

src/bin/e_comp_wl.c

index e552b5468d9a184f7ac8d137ccec391451494164..7c31065c881bdd126343691bf0771a41d6190668 100644 (file)
@@ -2751,6 +2751,8 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso
      }
    if (ec)
      {
+        if (!ec->netwm.pid)
+          ec->netwm.pid = pid;
         if (ec->new_client)
           e_comp->new_clients--;
         ec->new_client = 0;