X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=ad8f506b075a8d2e1c96194f308bbe0ffdb53ce4;hb=e0fa57d21c83bbfe87b15224f699bc24628fd89f;hp=ca41055859570fb467ad9c510a8f53d9fcfc50ae;hpb=5a7953b36aa0e23ae21f707d9fb8b6b9e882946d;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index ca410558..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); @@ -497,4 +501,11 @@ Client *client_search_modal_child(Client *self); /*! Return the "closest" client in the given direction */ Client *client_find_directional(Client *c, Direction dir); +/*! Set a client window to be above/below other clients. + @layer < 0 indicates the client should be placed below other clients.
+ = 0 indicates the client should be placed with other clients.
+ > 0 indicates the client should be placed above other clients. +*/ +void client_set_layer(Client *self, int layer); + #endif