summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-12 06:04:00 +0000
committerDana Jansens <danakj@orodu.net>2007-03-12 06:04:00 +0000
commit85a1a0cfb3e6f57b37d7a7b83132698b2d6cdee3 (patch)
tree2a564932c24677d129fe7b88243f15652297b4ce /openbox/client.c
parent6b7cc88c9d4ae2019f3b8fcd300dd3069f2bc680 (diff)
don't validate inside client_focus. instead, validate before you call it!
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 7e936036..be61a806 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -2937,8 +2937,10 @@ gboolean client_focus(ObClient *self)
/* choose the correct target */
self = client_focus_target(self);
+#if 0
if (!client_validate(self))
return FALSE;
+#endif
if (!client_can_focus(self)) {
if (!self->frame->visible) {