# HG changeset patch # User attila # Date 1077656961 0 # Node ID 398c24cecdc7d621cfbd7391818b44bde51bb424 # Parent 78204da6a49db85106adb6129b7f5452d97ab59c dont mess with the window position in xinerama when -geometry changes it. diff -r 78204da6a49d -r 398c24cecdc7 libvo/geometry.c --- 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; } diff -r 78204da6a49d -r 398c24cecdc7 libvo/geometry.h --- 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 */