xev.xclient.message_type = ECORE_X_ATOM_WM_PROTOCOLS;
xev.xclient.format = 32;
xev.xclient.data.l[0] = ECORE_X_ATOM_NET_WM_PING;
- xev.xclient.data.l[1] = CurrentTime;
+ xev.xclient.data.l[1] = _ecore_x_event_last_time;
xev.xclient.data.l[2] = win;
xev.xclient.data.l[3] = 0;
xev.xclient.data.l[4] = 0;
xev.xclient.message_type = ECORE_X_ATOM_WM_PROTOCOLS;
xev.xclient.format = 32;
xev.xclient.data.l[0] = ECORE_X_ATOM_NET_WM_SYNC_REQUEST;
- xev.xclient.data.l[1] = CurrentTime;
+ xev.xclient.data.l[1] = _ecore_x_event_last_time;
xev.xclient.data.l[2] = XSyncValueLow32(value);
xev.xclient.data.l[3] = XSyncValueHigh32(value);
xev.xclient.data.l[4] = 0;