diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-06-16 09:34:31 +0200 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-06-16 09:34:31 +0200 |
commit | 3866106be5172010493fcfa0002191810679289b (patch) | |
tree | 0b95e3c667c153efe8389def017afa5bffa86cf5 /video/out/wayland_common.c | |
parent | f2cd4a0e750fc3f1a642f8389e9d95c38868f588 (diff) | |
download | mpv-3866106be5172010493fcfa0002191810679289b.tar.bz2 mpv-3866106be5172010493fcfa0002191810679289b.tar.xz |
wayland: use VOCTRL_UPDATE_WINDOW_TTILE
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |