diff gui/interface.c @ 34458:1e84148527ab

Add user event evMenu. (Unless the skin definable menu can't be properly handled with mouse over and cursor keys, only the default menu will show up.)
author ib
date Thu, 12 Jan 2012 14:21:55 +0000
parents 5a45efc630b8
children 19398061c204
line wrap: on
line diff
--- a/gui/interface.c	Thu Jan 12 13:36:20 2012 +0000
+++ b/gui/interface.c	Thu Jan 12 14:21:55 2012 +0000
@@ -383,7 +383,7 @@
     case GUI_RUN_MESSAGE:
         mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] GUI_RUN_MESSAGE: %s\n", (const char *)data);
         msg = appFindMessage((const char *)data);
-        if (appFindItem(msg))
+        if ((msg == evMenu) || appFindItem(msg))
             uiEventHandling(msg, 0);
         break;