mirror of https://github.com/mpv-player/mpv
106c5f9989
vo_x11_create_vo_window() only called vo_x11_update_geometry() if no window position had been specified by -geometry or -xineramascreen, to avoid overwriting the specified position with values from the existing window. However window size should be initialized to the existing window here, and setting new window title for -use-filename-title is also done in vo_x11_update_geometry() (for whatever reason, it doesn't match what else that function does). Change the code in vo_x11_create_vo_window() to always call vo_x11_update_geometry() for size variable and window title updates, but add a flag that tells it not to update position variables. |
||
---|---|---|
.. | ||
aclib.c | ||
aclib_template.c | ||
aspect.c | ||
aspect.h | ||
aspecttest.c | ||
csputils.c | ||
csputils.h | ||
fastmemcpy.h | ||
geometry.c | ||
geometry.h | ||
gl_common.c | ||
gl_common.h | ||
gtf.c | ||
gtf.h | ||
matrixview.c | ||
matrixview.h | ||
matrixview_font.h | ||
mga_template.c | ||
old_vo_defines.h | ||
old_vo_wrapper.c | ||
old_vo_wrapper.h | ||
osd.c | ||
osd.h | ||
osd_template.c | ||
osx_common.c | ||
osx_common.h | ||
sdl_common.c | ||
sdl_common.h | ||
spuenc.c | ||
spuenc.h | ||
vdpau_template.c | ||
vesa_lvo.c | ||
vesa_lvo.h | ||
video_out.c | ||
video_out.h | ||
video_out_internal.h | ||
videodev_mjpeg.h | ||
vo_3dfx.c | ||
vo_aa.c | ||
vo_bl.c | ||
vo_caca.c | ||
vo_corevideo.h | ||
vo_corevideo.m | ||
vo_dfbmga.c | ||
vo_dga.c | ||
vo_direct3d.c | ||
vo_directfb2.c | ||
vo_directx.c | ||
vo_dxr3.c | ||
vo_fbdev.c | ||
vo_fbdev2.c | ||
vo_ggi.c | ||
vo_gif89a.c | ||
vo_gl.c | ||
vo_gl2.c | ||
vo_ivtv.c | ||
vo_ivtv.h | ||
vo_jpeg.c | ||
vo_kva.c | ||
vo_matrixview.c | ||
vo_md5sum.c | ||
vo_mga.c | ||
vo_mpegpes.c | ||
vo_null.c | ||
vo_png.c | ||
vo_pnm.c | ||
vo_quartz.c | ||
vo_s3fb.c | ||
vo_sdl.c | ||
vo_svga.c | ||
vo_tdfx_vid.c | ||
vo_tdfxfb.c | ||
vo_tga.c | ||
vo_v4l2.c | ||
vo_v4l2.h | ||
vo_vdpau.c | ||
vo_vesa.c | ||
vo_wii.c | ||
vo_x11.c | ||
vo_xmga.c | ||
vo_xover.c | ||
vo_xv.c | ||
vo_xvmc.c | ||
vo_xvr100.c | ||
vo_yuv4mpeg.c | ||
w32_common.c | ||
w32_common.h | ||
wskeys.h | ||
x11_common.c | ||
x11_common.h |