[comp.windows.x] Current Server Time?

rls@onondaga.steinmetz.ge.com (Roderick Sprattling) (09/08/89)

An algorithm in an application I'm porting from SunView to X requires
comparisons of event timestamps to the current system time.  The
evident X parallel is to compare event timestamps with the current
server tick. Is there a way to directly retrieve the current server
tick in R3?

My apologies if this question has been answered already in this forum.

---------------------------------------------------------------------
Rod Sprattling                           DialCom:  8*833-7054

sprattlingrl@crd.ge.com	                 rls@onondaga.crd.ge.com
uunet!crd.ge.com!sprattlingrl

Courtesy is the grease that keeps society from seizure.

---------------------------------------------------------------------

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/09/89)

    Is there a way to directly retrieve the current server tick in R3?

The ICCCM answers this:

A zero-length append to a property is a way to obtain a time-stamp for
this purpose;  the timestamp is in the corresponding PropertyNotify event.