diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-11-29 15:20:50 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-11-29 15:20:50 -0800 |
commit | 7dfc25002e52c4d944b39dcc52516af842dc2b11 (patch) | |
tree | d3dac9e17d169b00ea032599f29170a9dbfb7ec1 /xorg/X11R7.6/rdp/rdpmisc.c | |
parent | 6777c4e38e742f0f6162ed43762354b377f38fa4 (diff) | |
download | xrdp-proprietary-7dfc25002e52c4d944b39dcc52516af842dc2b11.tar.gz xrdp-proprietary-7dfc25002e52c4d944b39dcc52516af842dc2b11.zip |
X11rdp: wait for setxkbmap to finish
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpmisc.c')
-rw-r--r-- | xorg/X11R7.6/rdp/rdpmisc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xorg/X11R7.6/rdp/rdpmisc.c b/xorg/X11R7.6/rdp/rdpmisc.c index eb5bedad..1d57d1fa 100644 --- a/xorg/X11R7.6/rdp/rdpmisc.c +++ b/xorg/X11R7.6/rdp/rdpmisc.c @@ -668,3 +668,13 @@ get_crc(char* data, int data_bytes) CRC_END(crc); return crc; } + +/*****************************************************************************/ +int +get_mstime(void) +{ + struct timeval tp; + + gettimeofday(&tp, 0); + return (tp.tv_sec * 1000) + (tp.tv_usec / 1000); +} |