summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 5d84df0b..ad8f506b 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -430,6 +430,10 @@ void client_set_state(Client *self, Atom action, long data1, long data2);
Client passed to it or another Client if appropriate. */
Client *client_focus_target(Client *self);
+/*! Returns what client_focus would return if passed the same client, but
+ without focusing it or modifying the focus order lists. */
+gboolean client_can_focus(Client *self);
+
/*! Attempt to focus the client window */
gboolean client_focus(Client *self);