projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drop some wasted client_validates.
[dana/openbox.git]
/
openbox
/
event.c
diff --git
a/openbox/event.c
b/openbox/event.c
index
1572496
..
96fe627
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1320,11
+1320,8
@@
static gboolean focus_delay_func(gpointer data)
ObClient *c = data;
if (focus_client != c) {
- if (client_validate(c)) {
- client_focus(c);
- if (config_focus_raise)
- client_raise(c);
- }
+ if (client_focus(c) && config_focus_raise)
+ client_raise(c);
}
return FALSE; /* no repeat */
}