From e0fa57d21c83bbfe87b15224f699bc24628fd89f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Jun 2003 17:16:50 +0000 Subject: allow focus_fallback to query if a client can be focused without changing the focus order on it --- openbox/client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/client.h') 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); -- cgit v1.2.3