diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-28 01:52:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-28 01:52:06 +0000 |
| commit | 339d76704400a6ea514817d91a2e935a13ecc928 (patch) | |
| tree | a8a9a44bd6a83fc9b8e4b3f698de3eca78f4e47e /openbox/event.h | |
| parent | 0ec2282e2ca6b80fa8c85dc366596cd009acc8a9 (diff) | |
handle time wrapping around.
Diffstat (limited to 'openbox/event.h')
| -rw-r--r-- | openbox/event.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
