From 9c806bc299b25210d96a8cc9b2acf3b08d2d7936 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Thu, 5 Oct 2017 17:43:47 +0100 Subject: Revert "wayland_common: add support for embedding" This reverts commit 8d8d4c5cb1b3553215a8ba547d4db463fdc88831. --- video/out/wayland_common.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'video/out/wayland_common.c') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 52fa40b744..83b1e82970 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -881,11 +881,6 @@ static int create_surface(struct vo_wayland_state *wl) wl->xdg_toplevel = zxdg_surface_v6_get_toplevel(wl->xdg_surface); zxdg_toplevel_v6_add_listener(wl->xdg_toplevel, &xdg_toplevel_listener, wl); - if (wl->vo->opts->WinID >= 0) { - wl->xdg_tl_parent = (struct zxdg_toplevel_v6 *)(intptr_t)wl->vo->opts->WinID; - zxdg_toplevel_v6_set_parent(wl->xdg_toplevel, wl->xdg_tl_parent); - } - zxdg_toplevel_v6_set_title (wl->xdg_toplevel, "mpv"); zxdg_toplevel_v6_set_app_id(wl->xdg_toplevel, "mpv"); -- cgit v1.2.3