From 4d2ccf19168a4089a6a0de0109610479ec6d5507 Mon Sep 17 00:00:00 2001 From: Ian Zimmerman Date: Sun, 30 Sep 2012 20:51:01 -0400 Subject: 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 . Port to Openbox 3.5 by David Vogt . --- openbox/place.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/place.h') 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 -- cgit v1.2.3