[MPlayer-cvslog] r37415 - trunk/gui/win32/interface.c

ib subversion at mplayerhq.hu
Sun Jun 7 14:53:22 CEST 2015


Author: ib
Date: Sun Jun  7 14:53:22 2015
New Revision: 37415

Log:
Handle X events in the Win32 GUI Wine build.

It is possible to have an X11 video output driver then
which will be sending events.

Modified:
   trunk/gui/win32/interface.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Fri Jun  5 09:29:20 2015	(r37414)
+++ trunk/gui/win32/interface.c	Sun Jun  7 14:53:22 2015	(r37415)
@@ -828,6 +828,13 @@ int gui(int what, void *data)
           gui(GUI_SET_STATE, (void *) GUI_STOP);
           break;
         }
+#ifdef __WINE__
+        // it's possible to have an X11 video output driver (sending events)
+        case GUI_HANDLE_X_EVENT:
+        {
+          break;
+        }
+#endif
         default:
             mp_msg(MSGT_GPLAYER, MSGL_ERR, "[GUI] GOT UNHANDLED EVENT %i\n", what);
     }


More information about the MPlayer-cvslog mailing list