Skip to content

Commit

Permalink
display: remove dead key event code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed May 20, 2018
1 parent 617076b commit 0b4d868
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion include/vlc_vout_display.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ enum {

/* */
VOUT_DISPLAY_EVENT_CLOSE,
VOUT_DISPLAY_EVENT_KEY,

/* Mouse event */
VOUT_DISPLAY_EVENT_MOUSE_MOVED,
Expand Down
7 changes: 0 additions & 7 deletions src/video_output/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0b4d868

Please sign in to comment.