]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.h
allow focus_fallback to query if a client can be focused without changing the focus...
[chaz/openbox] / openbox / client.h
index ca41055859570fb467ad9c510a8f53d9fcfc50ae..ad8f506b075a8d2e1c96194f308bbe0ffdb53ce4 100644 (file)
@@ -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.<br>
+         = 0 indicates the client should be placed with other clients.<br>
+         > 0 indicates the client should be placed above other clients.
+*/
+void client_set_layer(Client *self, int layer);
+
 #endif
This page took 0.020525 seconds and 4 git commands to generate.