diff options
-rw-r--r-- | video/out/x11_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index d0f86af3aa..140069e289 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1328,6 +1328,7 @@ void vo_x11_config_vo_window(struct vo *vo, XVisualInfo *vis, int flags, if (opts->WinID >= 0) { if (opts->WinID == 0) { x11->window = x11->rootwin; + x11->pseudo_mapped = true; XSelectInput(x11->display, x11->window, StructureNotifyMask); } else { XSelectInput(x11->display, opts->WinID, StructureNotifyMask); |