rem: LastTimestamp = CurrentTime;
context: saveTimestamp(XEvent *event){    LastTimestamp = CurrentTime;    switch (event->type) {     case ButtonRelease:     case ButtonPress:	LastTimestamp = event->xbutton.time;	break;     case KeyPress:     case KeyRelease:	LastTimestamp = event->xkey.time;	break;     case MotionNotify:	LastTimestamp = event->xmotion.time;	break;     case PropertyNotify:	LastTimestamp = event->xproperty.time;	break;     case EnterNotify:     case LeaveNotify:	LastTimestamp = event->xcrossing.time;	break;     case SelectionClear:	LastTimestamp = event->xselectionclear.time;	break;     case SelectionRequest:	LastTimestamp = event->xselectionrequest.time;	break;     case SelectionNotify:	LastTimestamp = event->xselection.time;#ifdef XDND    wXDNDProcessSelection(event);#endif	break;    }}