[Xorg] small fix for xcompmgr

Ely Levy elylevy-xserver at cs.huji.ac.il
Thu Jul 8 03:33:06 PDT 2004


it seems tz does some problems,
(and is marked abosolete),
and since it is not used anyhow..

Ely Levy
System group
Hebrew University
Jerusalem Israel

-------------- next part --------------
Index: xcompmgr.c
===================================================================
RCS file: /cvs/xapps/xcompmgr/xcompmgr.c,v
retrieving revision 1.23
diff -u -r1.23 xcompmgr.c
--- xcompmgr.c	8 Jul 2004 07:07:26 -0000	1.23
+++ xcompmgr.c	8 Jul 2004 10:30:51 -0000
@@ -164,9 +164,8 @@
 get_time_in_milliseconds ()
 {
     struct timeval  tv;
-    struct timezone tz;
 
-    gettimeofday (&tv, &tz);
+    gettimeofday (&tv, NULL);
     return tv.tv_sec * 1000 + tv.tv_usec / 1000;
 }
 


More information about the xorg mailing list