Esme Povirk (@madewokherd) commented about dlls/winex11.drv/clipboard.c:
}
+/**************************************************************************
get_server_time
- Get the current X11 server timestamp by generating a PropertyNotify event
- */
+static Time get_server_time( Display *display, Window win ) +{
- static Atom timestamp_prop = 0;
- XEvent event;
- Time timestamp = CurrentTime;
- XWindowAttributes attrs;
- if (!timestamp_prop)
timestamp_prop = XInternAtom( display, "__wine_timestamp", False );
This should probably use X11DRV_Atoms.