summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2008-10-27 00:10:57 +0100
committerMikael Magnusson <mikachu@gmail.com>2008-10-27 00:27:57 +0100
commitf34b2571b99f40885548fc3ea7c8c5b45ba64335 (patch)
tree403d37cddf7f6c10d739dc39baaeeb0d6fde8ef9 /openbox/event.h
parent4a9b25ad58d9098bf55d04ca907f2f3865dea7e0 (diff)
Correct a 64-bit bug in event_time_after
The code assumed the timestamps had the same domain as the type Xlib uses for them, which is almost never the case with Xlib. Change all involved variables to guint32.
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.h b/openbox/event.h
index 93af6b4c..a4bd8865 100644
--- a/openbox/event.h
+++ b/openbox/event.h
@@ -65,7 +65,7 @@ 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);
+gboolean event_time_after(guint32 t1, guint32 t2);
Time event_get_server_time();