]> Dogcows Code - chaz/openbox/commitdiff
event_curtime is replaced (publicly) by event_time()
authorDana Jansens <danakj@orodu.net>
Sat, 17 Apr 2010 02:23:37 +0000 (22:23 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 17 Apr 2010 02:23:37 +0000 (22:23 -0400)
This function never returns CurrentTime, which is nice, cuz using CurrentTime for XSetFocus always sucks.

If the current XEvent did not have a timestamp, then event_time() will find one.  It finds the first timestamp available in the X event queue, meaning the earliest timestamp >= the current (nontimestamped) event. All future events should have a timestamp >= event_time(), so using this in XSetFocus() should not mess up any future calls we make to it.

This change seems to work well, as it appears to fix bug #3648.


No differences found
This page took 0.023988 seconds and 4 git commands to generate.