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

display: remove dead close event code

parent e0e010a8
......@@ -176,9 +176,6 @@ enum {
VOUT_DISPLAY_EVENT_WINDOW_STATE,
#endif
/* */
VOUT_DISPLAY_EVENT_CLOSE,
/* Mouse event */
VOUT_DISPLAY_EVENT_MOUSE_MOVED,
VOUT_DISPLAY_EVENT_MOUSE_PRESSED,
......
......@@ -544,11 +544,6 @@ static void VoutDisplayEvent(vout_display_t *vd, int event, va_list args)
vout_display_owner_sys_t *osys = vd->owner.sys;
switch (event) {
case VOUT_DISPLAY_EVENT_CLOSE: {
msg_Dbg(vd, "VoutDisplayEvent 'close'");
vout_SendEventClose(osys->vout);
break;
}
case VOUT_DISPLAY_EVENT_MOUSE_MOVED:
case VOUT_DISPLAY_EVENT_MOUSE_PRESSED:
case VOUT_DISPLAY_EVENT_MOUSE_RELEASED:
......@@ -1150,7 +1145,6 @@ static void SplitterEvent(vout_display_t *vd, int event, va_list args)
break;
#endif
case VOUT_DISPLAY_EVENT_MOUSE_DOUBLE_CLICK:
case VOUT_DISPLAY_EVENT_CLOSE:
case VOUT_DISPLAY_EVENT_PICTURES_INVALID:
VoutDisplayEvent(vd, event, args);
break;
......
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