[MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200

Paolo Tresoldi PaulTT syncmail at mplayerhq.hu
Tue Nov 22 00:51:31 CET 2005


CVS change done by Paolo Tresoldi (PaulTT)

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv4309/libvo

Modified Files:
	x11_common.c 
Log Message:
resolves problem in module stop_xscreensaver, crashing mp after sleep and awake or enabling/disabling xssaver by hand

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -r1.199 -r1.200
--- x11_common.c	10 Nov 2005 02:39:31 -0000	1.199
+++ x11_common.c	21 Nov 2005 23:51:27 -0000	1.200
@@ -1572,6 +1572,8 @@
     unsigned int time = GetTimerMS();
     XEvent ev;
 
+    if (mDisplay)
+        xs_windowid = find_xscreensaver_window(mDisplay);
     if (mDisplay && xs_windowid &&
         ((time - time_last) > 30000 || (time - time_last) < 0))
     {




More information about the MPlayer-cvslog mailing list