From 3866106be5172010493fcfa0002191810679289b Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Sun, 16 Jun 2013 09:34:31 +0200 Subject: wayland: use VOCTRL_UPDATE_WINDOW_TTILE --- video/out/wayland_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 332cf68e32..a627100477 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -865,6 +865,9 @@ int vo_wayland_control (struct vo *vo, int *events, int request, void *arg) } wl->display->cursor.visible = *(bool *)arg; return VO_TRUE; + case VOCTRL_UPDATE_WINDOW_TITLE: + wl_shell_surface_set_title(wl->window->shell_surface, (char *) arg); + return VO_TRUE; } return VO_NOTIMPL; } @@ -880,6 +883,5 @@ bool vo_wayland_config (struct vo *vo, uint32_t d_width, if ((VOFLAG_FULLSCREEN & flags) && w->type != TYPE_FULLSCREEN) vo_wayland_fullscreen(vo); - wl_shell_surface_set_title(w->shell_surface, vo_get_window_title(vo)); return true; } -- cgit v1.2.3