Mercurial > mplayer.hg
diff libvo/vo_xv.c @ 1858:88a88d0a3f94
fix skin changing, xv fullscreen redraw bug, etc.
author | pontscho |
---|---|
date | Wed, 05 Sep 2001 18:17:22 +0000 |
parents | 58dd326fcc4a |
children | 3eb0a1217bf1 |
line wrap: on
line diff
--- a/libvo/vo_xv.c Wed Sep 05 11:00:11 2001 +0000 +++ b/libvo/vo_xv.c Wed Sep 05 18:17:22 2001 +0000 @@ -357,6 +357,11 @@ 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)