Commit 636b4a6b authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Qt: tell that vlc processed the media keys

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 260cae1d
......@@ -182,6 +182,7 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
break;
case WM_APPCOMMAND:
cmd = GET_APPCOMMAND_LPARAM(msg->lParam);
*result = TRUE;
switch(cmd)
{
case APPCOMMAND_MEDIA_PLAY_PAUSE:
......@@ -213,8 +214,10 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
break;
default:
msg_Dbg( p_intf, "unknown APPCOMMAND = %d", cmd);
*result = FALSE;
break;
}
if (*result) return true;
break;
}
return false;
......
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