Commit 5b9551f5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

caopengllayer: add support for hiding the mouse cursor

parent 3bda2242
......@@ -188,7 +188,7 @@ static int Open (vlc_object_t *p_this)
/* setup vout display */
vout_display_info_t info = vd->info;
info.subpicture_chromas = subpicture_chromas;
info.has_hide_mouse = false;
info.has_hide_mouse = true;
vd->info = info;
vd->pool = Pool;
......@@ -323,6 +323,12 @@ static int Control (vout_display_t *vd, int query, va_list ap)
return VLC_SUCCESS;
}
case VOUT_DISPLAY_HIDE_MOUSE:
{
[NSCursor setHiddenUntilMouseMoves: YES];
return VLC_SUCCESS;
}
case VOUT_DISPLAY_GET_OPENGL:
{
vlc_gl_t **gl = va_arg (ap, vlc_gl_t **);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment