From 10a833b2cba11349a57071a7538cae9a560b8cc9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 1 Oct 2012 21:43:56 -0400 Subject: Allow application rules to control window size (Fix bug 4661) Use the following in your per-app rules: A B A and B can be integer values to specify a size in pixels. They can also be percentages or fractions to be relative to the size of the monitor the window is placed on. --- openbox/place_overlap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/place_overlap.c') diff --git a/openbox/place_overlap.c b/openbox/place_overlap.c index e365a370..ef73bd8d 100644 --- a/openbox/place_overlap.c +++ b/openbox/place_overlap.c @@ -39,7 +39,7 @@ void place_overlap_find_least_placement(const Rect* client_rects, const Size* req_size, Point* result) { - result->x = result->y = 0; + POINT_SET(*result, 0, 0); int overlap = G_MAXINT; int max_edges = 2 * (n_client_rects + 1); -- cgit v1.2.3