From f34b2571b99f40885548fc3ea7c8c5b45ba64335 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 27 Oct 2008 00:10:57 +0100 Subject: 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. --- openbox/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/event.h') 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(); -- cgit v1.2.3