Mercurial > mplayer.hg
diff libvo/vo_dxr2.c @ 11542:85e503ddf65f
runtime 'stay-on-top' functionality
author | joey |
---|---|
date | Sun, 30 Nov 2003 16:36:10 +0000 |
parents | 57bdcdb061d7 |
children | fd51fd1ff231 |
line wrap: on
line diff
--- a/libvo/vo_dxr2.c Sun Nov 30 14:45:42 2003 +0000 +++ b/libvo/vo_dxr2.c Sun Nov 30 16:36:10 2003 +0000 @@ -854,6 +854,8 @@ break; } + if (vo_ontop) vo_x11_setlayer(mDisplay, vo_window, vo_ontop); + // start playing if(ioctl(dxr2_fd, DXR2_IOC_PLAY, NULL) == 0) { playing = 1; @@ -1065,6 +1067,9 @@ flush_dxr2(); ioctl(dxr2_fd, DXR2_IOC_PLAY, NULL); return VO_TRUE; + case VOCTRL_ONTOP: + vo_x11_ontop(); + return VO_TRUE; case VOCTRL_FULLSCREEN: if(!use_ol) return VO_NOTIMPL;