diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-28 02:12:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-28 02:12:36 +0000 |
| commit | 301016fd2ba714c1d4bc6d246a92e13eefef9954 (patch) | |
| tree | 04d3bf46dc4a8ce070cfbcebb8a16ac133980802 /openbox/client.h | |
| parent | e9f6255b187e9f9283a3d3e3533a6995a77749e3 (diff) | |
don't give focus to transient when it is ambiguous, but only if they have a parent
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h index 3d81b270..55b684ff 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -612,6 +612,11 @@ void client_get_type_and_transientness(ObClient *self); const ObClientIcon *client_icon(ObClient *self, gint w, gint h); +/*! Return TRUE if the client is transient for some other window. Return + FALSE if it's not transient or there is no window for it to be + transient for */ +gboolean client_has_parent(ObClient *self); + /*! Searches a client's direct parents for a focused window. The function does not check for the passed client, only for *ONE LEVEL* of its parents. If no focused parentt is found, NULL is returned. |
