Mercurial > mplayer.hg
changeset 23587:58bd3640c0c2
Hack around some fullscreen issues with gl under Windows
(non-fullscreen window would not always return to original size).
author | reimar |
---|---|
date | Fri, 22 Jun 2007 22:06:58 +0000 |
parents | 16db18293ebd |
children | a44fc12de744 |
files | libvo/w32_common.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/w32_common.c Fri Jun 22 19:58:44 2007 +0000 +++ b/libvo/w32_common.c Fri Jun 22 22:06:58 2007 +0000 @@ -277,6 +277,9 @@ vo_dx = xinerama_x; vo_dy = xinerama_y; } else { + // make sure there are no "stale" resize events + // that would set vo_d* to wrong values + vo_w32_check_events(); vo_dwidth = prev_width; vo_dheight = prev_height; vo_dx = prev_x;