diff options
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index c70e83352f..cfbdc83d9a 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1758,9 +1758,12 @@ void vo_vm_switch(uint32_t X, uint32_t Y, int *modeline_width, mp_msg(MSGT_VO, MSGL_V, "XF86VidMode extension v%i.%i\n", vm_ver, vm_rev); have_vm = 1; - } else + } else { mp_msg(MSGT_VO, MSGL_WARN, "XF86VidMode extension not available.\n"); + *modeline_width = vo_screenwidth; + *modeline_height = vo_screenheight; + } if (have_vm) { |