vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun Aug 6 17:54:36 2017 +0300| [320a02419a70f8e5804757ed46421f6795f0c3fd] | committer: 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. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=320a02419a70f8e5804757ed46421f6795f0c3fd --- src/video_output/display.c | 2 -- src/video_output/event.h | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/src/video_output/display.c b/src/video_output/display.c index a65dc062c2..2d91dad1a4 100644 --- a/src/video_output/display.c +++ b/src/video_output/display.c @@ -570,7 +570,6 @@ static void VoutDisplayEventMouse(vout_display_t *vd, int event, va_list args) osys->mouse.last_moved = mdate(); /* */ - vout_SendEventMouseVisible(osys->vout); vout_SendDisplayEventMouse(osys->vout, &m); vlc_mutex_unlock(&osys->lock); } @@ -758,7 +757,6 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures) if (vout_HideWindowMouse(osys->vout, true) != VLC_SUCCESS && !vd->info.has_hide_mouse) vout_display_Control(vd, VOUT_DISPLAY_HIDE_MOUSE); - vout_SendEventMouseHidden(osys->vout); } bool reset_render = false; diff --git a/src/video_output/event.h b/src/video_output/event.h index ece1042c36..78804c190c 100644 --- a/src/video_output/event.h +++ b/src/video_output/event.h @@ -98,16 +98,6 @@ static inline void vout_SendEventMouseDoubleClick(vout_thread_t *vout) //vout_ControlSetFullscreen(vout, !var_GetBool(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, bool b_can_change) { _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits