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/client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index 9e25135c..b6cc4a87 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -370,8 +370,7 @@ void client_manage(Window window, ObPrompt *prompt) "program + user specified" : "BADNESS !?")))), place.width, place.height); - obplaced = place_client(self, do_activate, &place.x, &place.y, - settings); + obplaced = place_client(self, do_activate, &place, settings); /* watch for buggy apps that ask to be placed at (0,0) when there is a strut there */ -- cgit v1.2.3