summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-03 08:36:27 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-03 08:36:27 +0000
commita522f65ac28f8e4185b5481dc94480666563e077 (patch)
tree28144aee7a130fb251fe4c6165b489dca133e805 /libvo
parent5bf1615eba5a91aaf8c52f7ab3f268d96f3beba2 (diff)
downloadmpv-a522f65ac28f8e4185b5481dc94480666563e077.tar.bz2
mpv-a522f65ac28f8e4185b5481dc94480666563e077.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24333 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 8c55b93ce8..aecf634047 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1510,8 +1510,6 @@ void vo_x11_fullscreen(void)
// 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 @@ void vo_x11_fullscreen(void)
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;