summaryrefslogtreecommitdiff
path: root/openbox/actions/growtoedge.c
AgeCommit message (Collapse)Author
2014-04-10Fix typo in variable nameMikael Magnusson
2013-09-02Allow FillToEdge to grow when all its edges are blocked.Dana Jansens
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.
2013-09-02Clean up the FillToEdge action implementationDana Jansens
This extend the client_find_resize_directional() method to support two growing modes, and return a bool for whether it was able to grow/shrink. The client_find_resize_directional() method now takes an enum instead of a bool, with two growing modes. The old mode which always tries to grow, the a new mode that will only grow if the client's edge is not already at a grow stopping point (ie against the edge of another window).
2013-09-02Created a 'GrowToFill' action. (Bug 3356)Lucas Augusto Deters
2010-02-16more using g_slice_new() instead of g_new()Dana Jansens
2009-12-21rename the obt_parse library to obt_xml (since it is very xml specific)Dana Jansens
2009-12-17Make it possible for an action name to choose whether it is interactive or ↵Dana Jansens
not based on its options. This way we can use the same name with options for an interactive action and a non-interactive action. Shorten the names of the ObActionsInteractive* functions to ObActionsI* Add a ObActionsIPreFunc that is called for interactive actions before the interactivity (key/mouse grab) is started. Add a ObActionsIPostFunc that is called for interactive actions after the interactiviti (key/mouse grab) has ended.
2009-09-19Add all the action names used in 3.4 so configs don't breakMikael Magnusson
2008-01-20update openbox to use the current parser interface in libobtDana Jansens
there is also some random bug fixes for other libobt stuff in here.
2007-12-18Merge branch 'backport'Mikael Magnusson
2007-10-03Add complementing ShrinkToEdge action.Mikael Magnusson
2007-09-04ANSI function declarations, ie () -> (void)Mikael Magnusson
2007-08-04make growtoedge shrink if it cyan grow any moreDana Jansens
2007-07-19fix growtoedge so it doesn't move terminal windows aroundDana Jansens
2007-07-11fix the remaining reversed actions_client_moveMikael Magnusson
2007-07-10grow to edge works again, using the new edge detection codeDana Jansens
2007-06-28rewrote the movetoedge code so it works with both types of edges (to edge ↵Dana Jansens
and from edge)
2007-06-23add the growtoedge actionDana Jansens