Does anyone know how to retrieve the "current X server time"?? 

In the LessTif tests (ie rowcolumn/test50) we are simulating
buttonpress/buttonrelease events in order to test the menu system by using
XSendEvent. In here is the event time. It seems that a couple of problems have
been solved by being "a little picky" about when a menu gets posted. In Motif
2, we are generating a bunch of "GrabInvalidTime" responses to the grabs. In
order to simulate the events correctly I need to find a time that is not

"earlier than the last-keyboard-grab time or later than the current X server
time". 

Specifying CurrentTime in an XSendEvent does not work. I'm even willing to rely
on private Xt internals at this point....

Reply via email to