From 59ea27e8192a7aedb3a5fd287bb96403bd6959f9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 27 Apr 2015 13:55:47 -0400 Subject: [PATCH] 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 6ce42f746..411bcd46e 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;