diff options
| author | Ian Zimmerman <itz@buug.org> | 2012-09-30 20:51:01 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-10-06 21:56:56 -0400 |
| commit | 4d2ccf19168a4089a6a0de0109610479ec6d5507 (patch) | |
| tree | 27cae89a72bdc4e1831a4adf5bc752f0ac87faca /openbox/place.h | |
| parent | 01f62ded2fe289fe245f4f05b5825f4bdcbe1dc3 (diff) | |
LeastOverlap placement option (Fix bug 5385)
Adds a new placement algorithm that finds a place on the monitor that overlaps
the least amount of windows as possible.
Original patch by Ian Zimmerman <itz@buug.org>.
Port to Openbox 3.5 by David Vogt <dv@adfinis.c>.
Diffstat (limited to 'openbox/place.h')
| -rw-r--r-- | openbox/place.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/place.h b/openbox/place.h index 94e2dc0f..25df752c 100644 --- a/openbox/place.h +++ b/openbox/place.h @@ -28,7 +28,8 @@ struct _ObAppSettings; typedef enum { OB_PLACE_POLICY_SMART, - OB_PLACE_POLICY_MOUSE + OB_PLACE_POLICY_MOUSE, + OB_PLACE_POLICY_LEASTOVERLAP, } ObPlacePolicy; typedef enum |
