mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
fe8edf9767
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4799 b3059339-0415-0410-9bf9-f77b7e298cf2
26 lines
476 B
C
26 lines
476 B
C
|
|
|
|
#include "ws.h"
|
|
#include "mplayer/play.h"
|
|
#include "interface.h"
|
|
#include "../mplayer.h"
|
|
|
|
void guiGetEvent( int type,char * arg )
|
|
{
|
|
switch ( type )
|
|
{
|
|
case guiXEvent:
|
|
wsEvents( wsDisplay,(XEvent *)arg,NULL );
|
|
break;
|
|
case guiCEvent:
|
|
break;
|
|
}
|
|
}
|
|
|
|
void guiEventHandling( void )
|
|
{
|
|
if ( use_gui && !mplShMem->Playing ) wsHandleEvents();
|
|
mplTimerHandler(0); // handle GUI timer events
|
|
if ( mplShMem->SkinChange ) { ChangeSkin(); mplShMem->SkinChange=0; }
|
|
}
|