Mercurial > mplayer.hg
diff libvo/geometry.c @ 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 | d9478c8e5ffe |
children | e047e70a9767 |
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; }