From adc81aa70fb02d43e4e65c1c8ba9f5a992bd114f Mon Sep 17 00:00:00 2001 From: pontscho Date: Wed, 5 Sep 2001 18:17:22 +0000 Subject: fix skin changing, xv fullscreen redraw bug, etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1859 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libvo') diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index a50958cbf3..2a86d48f88 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -357,6 +357,11 @@ static void check_events(void) printf( "[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight ); } } + if ( e & VO_EVENT_EXPOSE ) + { + XvShmPutImage(mDisplay, xv_port, mywindow, mygc, xvimage[current_buf], 0, 0, image_width, image_height, drwX, drwY, 1, 1, False); + XvShmPutImage(mDisplay, xv_port, mywindow, mygc, xvimage[current_buf], 0, 0, image_width, image_height, drwX,drwY,drwWidth,(mFullscreen?drwHeight - 1:drwHeight), False); + } } static void draw_osd(void) -- cgit v1.2.3