From 339d76704400a6ea514817d91a2e935a13ecc928 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 28 Mar 2007 01:52:06 +0000 Subject: handle time wrapping around. --- openbox/event.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/event.h') diff --git a/openbox/event.h b/openbox/event.h index 44bf54a0..4221e54d 100644 --- a/openbox/event.h +++ b/openbox/event.h @@ -47,4 +47,8 @@ void event_ignore_queued_enters(); window for focus */ void event_halt_focus_delay(); +/*! Compare t1 and t2, taking into account wraparound. True if t1 + comes at the same time or later than t2. */ +gboolean event_time_after(Time t1, Time t2); + #endif -- cgit v1.2.3