diff options
| author | Ian Zimmerman <itz@buug.org> | 2013-08-17 16:08:25 -0700 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2013-09-01 15:09:03 -0400 |
| commit | f866c034bf6e954791442ff029d5ae51ab0bd616 (patch) | |
| tree | 3794c466a8dc2a62d2bcf8ba6f4a07e2070c81af /openbox/config.h | |
| parent | 9750e5cea8d8cdab2b8b988a8c5d6392b0dbeae8 (diff) | |
Add the old <center> option for the placement policy. (Bug 5946)
Original commit messages:
. Reformat to move closer to house style
. Add center on top of leat overlap place algo
. Add sentinel value to edge arrays
. Use a Size instead of a Rect for a centering field
. Fix off by one bug
. Need to declare dx and dy
. Pass length of edge array instead of recomputing
. Fix missing open-brace in config.c
. Address the more trivial subset of danakj comments
. Revert "Remove now-unused config_place_center option."
This reverts commit 5e282dae08be3b900e0337efa0fae8f3ffa92cd7.
. Remove reliance on sentinel value when scanning edge arrays
. Avoid need to initialize Size structure by removing it :)
. Clean up field expansion code somewhat
. Compress code further by using a structure for common args
. Fix search for next grid point
. Squeeze it even more by not using Size at all
Diffstat (limited to 'openbox/config.h')
| -rw-r--r-- | openbox/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/config.h b/openbox/config.h index ce1ff885..fc1d217e 100644 --- a/openbox/config.h +++ b/openbox/config.h @@ -88,6 +88,8 @@ extern gboolean config_unfocus_leave; /*! The algorithm to use for placing new windows */ extern ObPlacePolicy config_place_policy; +/*! Place windows in the center of the free area */ +extern gboolean config_place_center; /*! Place windows on the active monitor (unless they are part of an application already on another monitor) */ extern ObPlaceMonitor config_place_monitor; |
