diff options
| author | Dana Jansens <danakj@orodu.net> | 2012-09-30 21:12:07 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-10-06 21:56:56 -0400 |
| commit | dc4cfa94c9cd7bd30cdc87a6e4ab8174d8a9703f (patch) | |
| tree | 5a5edc05f4010d43e41c1f95b600935c839ed388 /openbox/place_overlap.h | |
| parent | 4d2ccf19168a4089a6a0de0109610479ec6d5507 (diff) | |
Make LeastOverlap placment replace the behaviour of Smart and address style nits
Diffstat (limited to 'openbox/place_overlap.h')
| -rw-r--r-- | openbox/place_overlap.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/openbox/place_overlap.h b/openbox/place_overlap.h new file mode 100644 index 00000000..9ceed34e --- /dev/null +++ b/openbox/place_overlap.h @@ -0,0 +1,25 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + overlap.h for the Openbox window manager + Copyright (c) 2011 Ian Zimmerman + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + See the COPYING file for a copy of the GNU General Public License. +*/ + +#include "geom.h" + +void place_overlap_find_least_placement(const Rect* client_rects, + int n_client_rects, + Rect *const bounds, + const Size* req_size, + Point* result); |
