Commit 320a0241 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout: remove unused mouse visible/invisible event

The window/display already have events/controls for this, and nothing
else cared, cares and probably will ever care.
parent 989e3864
...@@ -570,7 +570,6 @@ static void VoutDisplayEventMouse(vout_display_t *vd, int event, va_list args) ...@@ -570,7 +570,6 @@ static void VoutDisplayEventMouse(vout_display_t *vd, int event, va_list args)
osys->mouse.last_moved = mdate(); osys->mouse.last_moved = mdate();
/* */ /* */
vout_SendEventMouseVisible(osys->vout);
vout_SendDisplayEventMouse(osys->vout, &m); vout_SendDisplayEventMouse(osys->vout, &m);
vlc_mutex_unlock(&osys->lock); vlc_mutex_unlock(&osys->lock);
} }
...@@ -758,7 +757,6 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures) ...@@ -758,7 +757,6 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
if (vout_HideWindowMouse(osys->vout, true) != VLC_SUCCESS if (vout_HideWindowMouse(osys->vout, true) != VLC_SUCCESS
&& !vd->info.has_hide_mouse) && !vd->info.has_hide_mouse)
vout_display_Control(vd, VOUT_DISPLAY_HIDE_MOUSE); vout_display_Control(vd, VOUT_DISPLAY_HIDE_MOUSE);
vout_SendEventMouseHidden(osys->vout);
} }
bool reset_render = false; bool reset_render = false;
......
...@@ -98,16 +98,6 @@ static inline void vout_SendEventMouseDoubleClick(vout_thread_t *vout) ...@@ -98,16 +98,6 @@ static inline void vout_SendEventMouseDoubleClick(vout_thread_t *vout)
//vout_ControlSetFullscreen(vout, !var_GetBool(vout, "fullscreen")); //vout_ControlSetFullscreen(vout, !var_GetBool(vout, "fullscreen"));
var_ToggleBool(vout, "fullscreen"); var_ToggleBool(vout, "fullscreen");
} }
static inline void vout_SendEventMouseVisible(vout_thread_t *vout)
{
/* TODO */
VLC_UNUSED(vout);
}
static inline void vout_SendEventMouseHidden(vout_thread_t *vout)
{
/* TODO */
VLC_UNUSED(vout);
}
static inline void vout_SendEventViewpointChangeable(vout_thread_t *vout, static inline void vout_SendEventViewpointChangeable(vout_thread_t *vout,
bool b_can_change) bool b_can_change)
{ {
......
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