summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-28 05:18:01 +0000
committerDana Jansens <danakj@orodu.net>2007-06-28 05:18:01 +0000
commit01a35904fec67a7f92a0eb7f19457e79ca3d0988 (patch)
tree6fbe5902ffe87e9046f05bb9919da1e5bedee933 /openbox/client.h
parentd9699d14700da5f227f6e5ad708519b1efdd874d (diff)
rewrote the movetoedge code so it works with both types of edges (to edge and from edge)
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/openbox/client.h b/openbox/client.h
index bb783458..fcfb28b8 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -455,6 +455,11 @@ gboolean client_find_onscreen(ObClient *self, gint *x, gint *y, gint w, gint h,
*/
void client_move_onscreen(ObClient *self, gboolean rude);
+/*! dir is either North, South, East or West. It can't be, for example,
+ Northwest */
+void client_find_move_directional(ObClient *self, ObDirection dir,
+ gint *x, gint *y);
+
/*! Fullscreen's or unfullscreen's the client window
@param fs true if the window should be made fullscreen; false if it should
be returned to normal state.
@@ -684,9 +689,6 @@ ObClient *client_search_parent(ObClient *self, ObClient *search);
NULL is returned if the given search is not a transient of the client. */
ObClient *client_search_transient(ObClient *self, ObClient *search);
-/*! Return the closest edge in the given direction */
-gint client_directional_edge_search(ObClient *c, ObDirection dir, gboolean hang);
-
/*! 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 />