diff options
| author | Dana Jansens <danakj@orodu.net> | 2013-09-01 17:37:53 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2013-09-02 14:10:37 -0400 |
| commit | e6a0beb34bfe3f445a115eb6df9276bb2692f7dd (patch) | |
| tree | 1ac15a8d43ffb2895286e55d516df68a4270d62f /openbox/client.h | |
| parent | f5e9df18a46240b4fdaebf540a1052e65507dcfe (diff) | |
Allow FillToEdge to grow when all its edges are blocked.
This change points out how useless the return value from client_find_resize_directional()
was, so it also removes that.
When all edges are blocked, the FillToEdge action will try to grow all four edges agin
without blocking any of them on their current edge. This more closely matches the
behaviour of the GrowToEdge action.
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/openbox/client.h b/openbox/client.h index a753b123..11a01400 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -496,14 +496,11 @@ typedef enum { CLIENT_RESIZE_SHRINK, } ObClientDirectionalResizeType; -/*! Moves the client area passed in to grow/shrink the given edge. - @return TRUE if any change was made to the client area. -*/ -gboolean client_find_resize_directional( - ObClient *self, - ObDirection side, - ObClientDirectionalResizeType resize_type, - gint *x, gint *y, gint *w, gint *h); +/*! Moves the client area passed in to grow/shrink the given edge. */ +void client_find_resize_directional(ObClient *self, + ObDirection side, + ObClientDirectionalResizeType resize_type, + 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 |
