summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/x11_common.c5
1 files 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: