ecore-wl needs to also set xdg props again on show
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 21 Jan 2015 00:11:25 +0000 (19:11 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 21 Jan 2015 00:11:25 +0000 (19:11 -0500)
fix T1819

src/lib/ecore_wayland/ecore_wl_window.c

index 1db8ed08ed0caeb9e5dfe3e29ad8421cd8e70916..048fd30b41e78c9e24337eb52e2b4051707d9cd5 100644 (file)
@@ -336,6 +336,10 @@ ecore_wl_window_show(Ecore_Wl_Window *win)
                     xdg_shell_get_xdg_surface(_ecore_wl_disp->wl.xdg_shell,
                                               win->surface);
                   if (!win->xdg_surface) return;
+                  if (win->title)
+                    xdg_surface_set_title(win->xdg_surface, win->title);
+                  if (win->class_name)
+                    xdg_surface_set_app_id(win->xdg_surface, win->class_name);
                   xdg_surface_set_user_data(win->xdg_surface, win);
                   xdg_surface_add_listener(win->xdg_surface,
                                            &_ecore_xdg_surface_listener, win);