summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-04 17:16:50 +0000
committerDana Jansens <danakj@orodu.net>2003-06-04 17:16:50 +0000
commite0fa57d21c83bbfe87b15224f699bc24628fd89f (patch)
tree1f8710e396b5369453232f7c91a0c9d0b0f1ebbd /openbox/client.h
parent9232682ad64c6ee0956a748312b9ca8136434bf3 (diff)
allow focus_fallback to query if a client can be focused without changing the focus order on it
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);