[Xfce4-commits] r24170 - xfwm4/trunk/src
Olivier Fourdan
olivier at xfce.org
Fri Dec 22 21:55:02 CET 2006
Author: olivier
Date: 2006-12-22 20:55:02 +0000 (Fri, 22 Dec 2006)
New Revision: 24170
Modified:
xfwm4/trunk/src/focus.c
Log:
Use an existing convenient macro instead of simple value comparison to compare time stamps.
Modified: xfwm4/trunk/src/focus.c
===================================================================
--- xfwm4/trunk/src/focus.c 2006-12-22 20:21:05 UTC (rev 24169)
+++ xfwm4/trunk/src/focus.c 2006-12-22 20:55:02 UTC (rev 24170)
@@ -153,7 +153,7 @@
}
else if (FLAG_TEST (c->flags, CLIENT_FLAG_HAS_STARTUP_TIME | CLIENT_FLAG_HAS_USER_TIME))
{
- if (c->user_time < client_focus->user_time)
+ if (TIMESTAMP_IS_BEFORE (c->user_time, client_focus->user_time))
{
TRACE ("Current %u, new %u", (unsigned int) client_focus->user_time, (unsigned int) c->user_time);
give_focus = FALSE;
More information about the Xfce4-commits
mailing list