Set title to "Keyboard" for keyboard window 03/165703/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 3 Jan 2018 08:40:33 +0000 (17:40 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 3 Jan 2018 08:40:36 +0000 (17:40 +0900)
we added code to set the title to "Keyboard" automatically
if the keyboard window didn't set the title.

Change-Id: Ic89c06d48ea2d2d9776bcf44022ca484def79555

src/e_mod_input_panel.c

index 9768d7c..9afcdc7 100644 (file)
@@ -808,6 +808,9 @@ _e_input_panel_cb_surface_get(struct wl_client *client, struct wl_resource *reso
    ec->border_size = 0;
    ec->vkbd.vkbd = 1;
    ec->icccm.window_role = eina_stringshare_add("input_panel_surface");
+   if (!ec->icccm.title)
+     ec->icccm.title = eina_stringshare_add("Keyboard");
+
    /* skip iconify */
    ec->exp_iconify.skip_iconify = 1;
    evas_object_layer_set(ec->frame, E_LAYER_CLIENT_ABOVE);