]> Dogcows Code - chaz/openbox/commitdiff
use CurrentTime constant
authorDana Jansens <danakj@orodu.net>
Wed, 28 Mar 2007 19:42:45 +0000 (19:42 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 28 Mar 2007 19:42:45 +0000 (19:42 +0000)
openbox/grab.c

index 36817b166ca19a7dfc8f5164c9f535cae07da440..e92722a6a48e1c0daab0cca054ea9f292bac0fa7 100644 (file)
@@ -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.
This page took 0.024774 seconds and 4 git commands to generate.