Mercurial > mplayer.hg
changeset 31606:d48795123d88
100l, only set VO_EVENT_RESIZE on an actual resize, not just for movement.
author | reimar |
---|---|
date | Sat, 10 Jul 2010 17:57:10 +0000 |
parents | 21ac1f3cfb7f |
children | c593c72884bb |
files | libvo/x11_common.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Sat Jul 10 16:48:59 2010 +0000 +++ b/libvo/x11_common.c Sat Jul 10 17:57:10 2010 +0000 @@ -797,9 +797,8 @@ static int check_resize(void) { int old_w = vo_dwidth, old_h = vo_dheight; - int old_x = vo_dx, old_y = vo_dy; vo_x11_update_geometry(); - if (vo_dwidth != old_w || vo_dheight != old_h || vo_dx != old_x || vo_dy != old_y) + if (vo_dwidth != old_w || vo_dheight != old_h) return VO_EVENT_RESIZE; return 0; }