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

display: remove dead key event code

parent 617076b2
......@@ -178,7 +178,6 @@ enum {
/* */
VOUT_DISPLAY_EVENT_CLOSE,
VOUT_DISPLAY_EVENT_KEY,
/* Mouse event */
VOUT_DISPLAY_EVENT_MOUSE_MOVED,
......
......@@ -549,12 +549,6 @@ static void VoutDisplayEvent(vout_display_t *vd, int event, va_list args)
vout_SendEventClose(osys->vout);
break;
}
case VOUT_DISPLAY_EVENT_KEY: {
const int key = (int)va_arg(args, int);
msg_Dbg(vd, "VoutDisplayEvent 'key' 0x%2.2x", key);
vout_SendEventKey(osys->vout, key);
break;
}
case VOUT_DISPLAY_EVENT_MOUSE_MOVED:
case VOUT_DISPLAY_EVENT_MOUSE_PRESSED:
case VOUT_DISPLAY_EVENT_MOUSE_RELEASED:
......@@ -1156,7 +1150,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_KEY:
case VOUT_DISPLAY_EVENT_CLOSE:
case VOUT_DISPLAY_EVENT_PICTURES_INVALID:
VoutDisplayEvent(vd, event, args);
......
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