ecore-wl needs to also set xdg props again on show

fix T1819
This commit is contained in:
Mike Blumenkrantz 2015-01-20 19:11:25 -05:00
parent 62dd6d6dd4
commit 30a2311879
1 changed files with 4 additions and 0 deletions

View 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);