# HG changeset patch # User reimar # Date 1188808587 0 # Node ID 2624fefeee1a72ffaa563da2a2acd26af57071aa # Parent 716b7751e7add374fa58f20c45f5c65a49354ad3 Remove checks that in the worst case will completely break fullscreen switching. If they are needed for something they must be done in a more robust way. diff -r 716b7751e7ad -r 2624fefeee1a libvo/x11_common.c --- a/libvo/x11_common.c Mon Sep 03 08:33:35 2007 +0000 +++ b/libvo/x11_common.c Mon Sep 03 08:36:27 2007 +0000 @@ -1510,8 +1510,6 @@ // fs->win if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs { - if (vo_dwidth != vo_screenwidth && vo_dheight != vo_screenheight) - return; x = vo_old_x; y = vo_old_y; w = vo_old_width; @@ -1528,10 +1526,6 @@ vo_fs = VO_TRUE; if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs { - if (vo_old_width && - (vo_dwidth == vo_screenwidth && vo_dwidth != vo_old_width) && - (vo_dheight == vo_screenheight && vo_dheight != vo_old_height)) - return; vo_old_x = vo_dx; vo_old_y = vo_dy; vo_old_width = vo_dwidth;