From f47269a074333272c82e30104818771c4aab1a46 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Oct 2014 23:37:47 +0200 Subject: x11: disable various features when embedding the window --- video/out/x11_common.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'video/out') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index b094364a6e..53b18ec5bb 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1222,9 +1222,11 @@ static void vo_x11_create_window(struct vo *vo, XVisualInfo *vis, NULL); } - vo_x11_set_wm_icon(x11); - vo_x11_update_window_title(vo); - vo_x11_dnd_init_window(vo); + if (vo->opts->WinID >= 0) { + vo_x11_set_wm_icon(x11); + vo_x11_update_window_title(vo); + vo_x11_dnd_init_window(vo); + } x11->atom_frame_exts = XA(x11, _NET_FRAME_EXTENTS); } -- cgit v1.2.3