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

display: reroute and deprecate close event

In general, the window provider must be involved in the windowing
system closing protocol, so sending the event from the display is not
very sane.

(Note however that the event currently does nothing either way.)
parent 7081a67d
......@@ -320,9 +320,11 @@ static inline void vout_display_SendEventPicturesInvalid(vout_display_t *vd)
{
vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_PICTURES_INVALID);
}
VLC_DEPRECATED /* Use vout_window_ReportClose() in window provider instead. */
static inline void vout_display_SendEventClose(vout_display_t *vd)
{
vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_CLOSE);
vout_window_ReportClose(vd->cfg->window);
}
#if defined(_WIN32) || defined(__OS2__)
......
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