use CurrentTime constant
This commit is contained in:
parent
2876f22088
commit
6372bd7c0d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static Time grab_time = CurrentTime;
|
|||
static Time ungrab_time()
|
||||
{
|
||||
Time t = event_curtime;
|
||||
if (!(t == 0 || event_time_after(t, grab_time)))
|
||||
if (!(t == CurrentTime || event_time_after(t, grab_time)))
|
||||
/* When the time moves backward on the server, then we can't use
|
||||
the grab time because that will be in the future. So instead we
|
||||
have to use CurrentTime.
|
||||
|
|
Loading…
Reference in a new issue