X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=9f208596f2fe6261fc2573b09b289e5c80bcbe19;hb=8eea9dcdb77e004e67c23061eaecce26e8cd4e68;hp=bb783458cee5ea2eaf9a32ad24ba3933d0040ad0;hpb=29c4cf4a15bc5fa97ba746b03a5e334f989c645e;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index bb783458..9f208596 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -455,6 +455,18 @@ 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_edge_directional(ObClient *self, ObDirection dir, + gint my_head, gint my_tail, + gint my_edge_start, gint my_edge_size, + gint *dest, gboolean *near_edge); +void client_find_move_directional(ObClient *self, ObDirection dir, + gint *x, gint *y); +void client_find_resize_directional(ObClient *self, ObDirection side, + gboolean grow, + gint *x, gint *y, gint *w, gint *h); + /*! 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 +696,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.
= 0 indicates the client should be placed with other clients.