From 6332d6bbe9bf7104ca77b59f3c4abb5f5ff25ec7 Mon Sep 17 00:00:00 2001 From: attila Date: Tue, 24 Feb 2004 21:09:21 +0000 Subject: dont mess with the window position in xinerama when -geometry changes it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11997 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/geometry.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libvo/geometry.c') diff --git a/libvo/geometry.c b/libvo/geometry.c index e8aafcbe5d..d3d68c8ca7 100644 --- a/libvo/geometry.c +++ b/libvo/geometry.c @@ -9,6 +9,7 @@ char *vo_geometry = NULL; // set when either width or height is changed int geometry_wh_changed = 0; +int geometry_xy_changed = 0; #define RESET_GEOMETRY width = height = xoff = yoff = xper = yper = -1; @@ -85,6 +86,8 @@ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh) if( width != -1 || height != -1) geometry_wh_changed = 1; + if( xoff != -1 || yoff != -1) + geometry_xy_changed = 1; } return 1; } -- cgit v1.2.3