From 6372bd7c0d68793c2371ce7b6c1aa8017f913aee Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 28 Mar 2007 19:42:45 +0000 Subject: [PATCH] use CurrentTime constant --- openbox/grab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/grab.c b/openbox/grab.c index 36817b16..e92722a6 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -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. -- 2.45.2