]> Dogcows Code - chaz/openbox/blobdiff - openbox/place_overlap.h
Make LeastOverlap placment replace the behaviour of Smart and address style nits
[chaz/openbox] / openbox / place_overlap.h
diff --git a/openbox/place_overlap.h b/openbox/place_overlap.h
new file mode 100644 (file)
index 0000000..9ceed34
--- /dev/null
@@ -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);
This page took 0.025905 seconds and 4 git commands to generate.