diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/x11_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index bd75c104f3..2997b6f8df 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -988,7 +988,7 @@ static void vo_x11_sizehint(struct vo *vo, struct mp_rect rc, bool override_pos) struct mp_vo_opts *opts = vo->opts; struct vo_x11_state *x11 = vo->x11; - if (!x11->window) + if (!x11->window || x11->parent) return; bool force_pos = opts->geometry.xy_valid || // explicitly forced by user |