diff options
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index b6b6856f43..8062385e9f 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -346,6 +346,9 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 mp_msg(MSGT_VO,MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight ); saver_off(mDisplay); // turning off screen saver + + if (vo_ontop) vo_x11_setlayer(mDisplay, vo_window, vo_ontop); + return 0; } @@ -749,6 +752,9 @@ static uint32_t control(uint32_t request, void *data, ...) return(vo_xv_get_eq(xv_port, data, value)); } + case VOCTRL_ONTOP: + vo_x11_ontop(); + return VO_TRUE; } return VO_NOTIMPL; } |