From 85a1a0cfb3e6f57b37d7a7b83132698b2d6cdee3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 12 Mar 2007 06:04:00 +0000 Subject: don't validate inside client_focus. instead, validate before you call it! --- openbox/client.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index ff460153..845d9ad2 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -472,7 +472,9 @@ ObClient *client_focus_target(ObClient *self); without focusing it or modifying the focus order lists. */ gboolean client_can_focus(ObClient *self); -/*! Attempt to focus the client window */ +/*! Attempt to focus the client window + NOTE: You should validate the client before calling this !! (client_validate) +*/ gboolean client_focus(ObClient *self); /*! Remove focus from the client window */ -- cgit v1.2.3