e_client: add deiconify_update at exp_iconify of E_Client 58/140158/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 10 Jul 2017 09:22:53 +0000 (18:22 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 24 Jul 2017 04:59:23 +0000 (13:59 +0900)
Display server will wait client render when deiconify_update is set 1

Change-Id: I7d863f7bdc4cca4e623ae1bb9ce261994360e7ad

src/bin/e_client.c
src/bin/e_client.h

index 3878bc5ad628eab70538a06ce7561a3d690cabf7..66e952f85751863db46ec3a1bff06bf01e6980ef 100644 (file)
@@ -3722,8 +3722,12 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
    ec->exp_iconify.not_raise = 0;
    ec->exp_iconify.skip_iconify = 0;
    ec->exp_iconify.skip_by_remote = 0;
+   if (e_config->deiconify_approve)
+     ec->exp_iconify.deiconify_update= 1;
+   else
+     ec->exp_iconify.deiconify_update= 0;
 
-   if (!_e_client_hook_call(E_CLIENT_HOOK_NEW_CLIENT, ec)) 
+   if (!_e_client_hook_call(E_CLIENT_HOOK_NEW_CLIENT, ec))
      {
         /* delete the above allocated object */
         //e_object_del(E_OBJECT(ec));
index 274d84220722d1f21a411ef90ffc968fcfe16346..9d0a412d2bae7dbc6d98e8a6d7b0e973cf709686 100644 (file)
@@ -858,7 +858,8 @@ struct E_Client
       unsigned char by_client : 1;
       unsigned char not_raise : 1;
       unsigned char skip_iconify : 1;
-      unsigned char skip_by_remote : 1; // skip iconify by remote surface client
+      unsigned char skip_by_remote : 1;    // skip iconify by remote surface client
+      unsigned char deiconify_update : 1;  // wait client render if deiconify_update is 1
    } exp_iconify;
 
    struct