summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 5526c282..9019c62d 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -532,9 +532,10 @@ ObClient *client_focus_target(ObClient *self);
gboolean client_can_focus(ObClient *self);
/*! Attempt to focus the client window
- NOTE: You should validate the client before calling this !! (client_validate)
-*/
-gboolean client_focus(ObClient *self);
+ If you care if focus actually went to the window or not, pass checkinvalid
+ as TRUE.
+ */
+gboolean client_focus(ObClient *self, gboolean checkinvalid);
/*! Activates the client for use, focusing, uniconifying it, etc. To be used
when the user deliberately selects a window for use.