From 053196de84ea785bde70c3b544742a654191e258 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 29 Sep 2014 18:05:52 +0200 Subject: x11: always wait for mapped when using --wid Might help with embedding with mozplugger. I can't confirm whether it fixes the issue. See #1090. --- video/out/x11_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 390d40a024..1c3ccb95e0 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -944,9 +944,10 @@ int vo_x11_check_events(struct vo *vo) break; case PropertyNotify: if (Event.xproperty.atom == x11->atom_frame_exts) { - if (!x11->pseudo_mapped) + if (!x11->pseudo_mapped && vo->opts->WinID < 0) { MP_VERBOSE(x11, "not waiting for MapNotify\n"); - x11->pseudo_mapped = true; + x11->pseudo_mapped = true; + } } break; default: -- cgit v1.2.3