[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.3,1.4
Arpi of Ize
arpi at mplayer.dev.hu
Mon Aug 27 02:55:28 CEST 2001
Update of /cvsroot/mplayer/main/Gui/wm
In directory mplayer:/var/tmp.root/cvs-serv7643/wm
Modified Files:
ws.c
Log Message:
GUI integration, step 1
Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ws.c 26 Aug 2001 00:35:51 -0000 1.3
+++ ws.c 27 Aug 2001 00:55:25 -0000 1.4
@@ -631,6 +631,16 @@
Bool wsDummyEvents( Display * display,XEvent * Event,XPointer arg )
{ return True; }
+// mplTimerHandler(0); // handle timer event
+void wsHandleEvents(){
+ // handle pending events
+ while ( XPending(wsDisplay) ){
+ XNextEvent( wsDisplay,&wsEvent );
+// printf("### X event: %d [%d]\n",wsEvent.type,delay);
+ wsEvents( wsDisplay,&wsEvent,NULL );
+ }
+}
+
void wsMainLoop( void )
{
int delay=20;
More information about the MPlayer-cvslog
mailing list