don't compare client pointers with random numbers
This commit is contained in:
parent
1685e6528d
commit
7c1fb96bd3
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue