[vlc-commits] display: deprecate window state event
Rémi Denis-Courmont
git at videolan.org
Sun May 20 19:52:12 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 18 21:43:07 2018 +0300| [7081a67dd7b6c2d52fb73943df97ecb1e5fee8b7] | committer: Rémi Denis-Courmont
display: deprecate window state event
In principles, this would tell the core what the window state is,
although that would belong in the window provider.
Currently, this is instead used by a few display plugins to loop an
event back to themselves through the vout thread. The core would be
better left out of this completely.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7081a67dd7b6c2d52fb73943df97ecb1e5fee8b7
---
include/vlc_vout_display.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
index b46f3f8af5..afb4677635 100644
--- a/include/vlc_vout_display.h
+++ b/include/vlc_vout_display.h
@@ -338,6 +338,8 @@ static inline void vout_display_SendEventFullscreen(vout_display_t *vd, bool is_
{
vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_FULLSCREEN, is_fullscreen, is_window_fullscreen);
}
+
+VLC_DEPRECATED /* Core needs not know about this. Don't call. */
static inline void vout_display_SendWindowState(vout_display_t *vd, unsigned state)
{
vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_WINDOW_STATE, state);
More information about the vlc-commits
mailing list