Commit 7081a67d authored by Rémi Denis-Courmont's avatar 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.
parent 0b4d868d
......@@ -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);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment