changeset 11996:398c24cecdc7

dont mess with the window position in xinerama when -geometry changes it.
author attila
date Tue, 24 Feb 2004 21:09:21 +0000
parents 78204da6a49d
children 48b5bfb25dc0
files libvo/geometry.c libvo/geometry.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/geometry.c	Tue Feb 24 18:17:05 2004 +0000
+++ b/libvo/geometry.c	Tue Feb 24 21:09:21 2004 +0000
@@ -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 @@
 
 		if( width != -1 || height != -1)
 		    geometry_wh_changed = 1;
+		if( xoff != -1 || yoff != -1)
+		    geometry_xy_changed = 1;
         }
 	return 1;
 }
--- a/libvo/geometry.h	Tue Feb 24 18:17:05 2004 +0000
+++ b/libvo/geometry.h	Tue Feb 24 21:09:21 2004 +0000
@@ -4,5 +4,6 @@
 
 extern char *vo_geometry;
 extern int geometry_wh_changed;
+extern int geometry_xy_changed;
 int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh);
 #endif /* !__GEOMETRY_H */