projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1685e65
)
don't compare client pointers with random numbers
author
Mikael Magnusson
<mikachu@comhem.se>
Sun, 22 Apr 2007 18:26:05 +0000
(18:26 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sun, 22 Apr 2007 18:26:05 +0000
(18:26 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index ca60d6f3c592828d2351a4d624aa51c22a07c89a..6f819cc1f4c0838524d03fdd590d416e95fb3e23 100644
(file)
--- 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)