diff --git a/video/out/x11_common.c b/video/out/x11_common.c index eb4fb158f8..f43c5c03a8 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -777,7 +777,7 @@ int vo_x11_check_events(struct vo *vo) if (x11->window == None) break; vo_x11_update_geometry(vo); - if (Event.xconfigure.window == vo->opts->WinID) { + if (Event.xconfigure.window == (Window)vo->opts->WinID) { XMoveResizeWindow(x11->display, x11->window, x11->winrc.x0, x11->winrc.y0, RC_W(x11->winrc), RC_H(x11->winrc));