diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-03-06 02:35:26 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-03-06 02:35:26 -0500 |
| commit | 3606a4af6f75b5e35ce540bf083b776a097d096f (patch) | |
| tree | a3b2baa2dd731280f5abc2d65123078e025e44c5 /openbox/client.h | |
| parent | c4e55ad27e886c592fa033e63d83724fda636952 (diff) | |
when a window pops up a child, don't avoid focusing it because you were working in its parent window before this. that's probably what made the window appear in the first place
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/openbox/client.h b/openbox/client.h index c2461cb9..a3d50b0e 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -643,12 +643,18 @@ RrImage* client_icon(ObClient *self); 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. +/*! Searches a client's immediate parents for a focused window. The function + does not check for the passed client, only for *ONE LEVEL* of its parents. + If no focused parent is found, NULL is returned. */ ObClient *client_search_focus_parent(ObClient *self); +/*! Searches a client's parents for a focused window. The function + does not check for the passed client, but searches through all of its + parents. If no focused parent is found, NULL is returned. +*/ +ObClient *client_search_focus_parent_full(ObClient *self); + /*! Searches a client's transients for a focused window. The function does not check for the passed client, only for its transients. If no focused transient is found, NULL is returned. |
