From 7c1fb96bd33a97c9be55e5fcfae6cf7d625acbb6 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 22 Apr 2007 18:26:05 +0000 Subject: [PATCH] don't compare client pointers with random numbers --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/event.c b/openbox/event.c index ca60d6f3..6f819cc1 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1352,8 +1352,8 @@ static void focus_delay_dest(gpointer data) static gboolean focus_delay_cmp(gconstpointer d1, gconstpointer d2) { - const ObFocusDelayData *f1 = d1, *f2 = d2; - return f1->client == f2->client; + const ObFocusDelayData *f1 = d1; + return f1->client == d2; } static gboolean focus_delay_func(gpointer data) -- 2.45.2