discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=59ea27e8192a7aedb3a5fd287bb96403bd6959f9

commit 59ea27e8192a7aedb3a5fd287bb96403bd6959f9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 27 13:55:47 2015 -0400

    set internal win icccm name/class/title during win trap show
    
    wl clients have no concept of icccm name, so this is the only way to set it
    
    also, setting it here makes it available sooner for other functionalities
---
 src/bin/e_win.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 6ce42f7..411bcd4 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -120,6 +120,9 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
 
              ctx->client = e_client_new(cp, 0, 1);
              EINA_SAFETY_ON_NULL_RETURN_VAL(ctx->client, EINA_TRUE);
+             eina_stringshare_replace(&ctx->client->icccm.name, name);
+             eina_stringshare_replace(&ctx->client->icccm.class, clas);
+             eina_stringshare_replace(&ctx->client->icccm.title, title);
           }
         ctx->client->placed = ctx->placed | ctx->centered;
         ctx->client->internal_no_remember = ctx->internal_no_remember;

-- 


Reply via email to