diff options
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r-- | video/out/vo_x11.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index 232a3bf844..973c6e49a9 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -409,8 +409,7 @@ static bool resize(struct vo *vo) if (!p->swsContext) return false; - if (vo->x11->window) - vo_x11_clearwindow(vo, vo->x11->window); + vo_x11_clear_background(vo, &p->dst); vo->want_redraw = true; return true; |