diff options
| author | Dana Jansens <danakj@orodu.net> | 2012-10-01 21:43:56 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-10-06 23:04:57 -0400 |
| commit | 10a833b2cba11349a57071a7538cae9a560b8cc9 (patch) | |
| tree | 661456c5b74cafa939eaa97287ff6b823ce205bf /openbox/client.c | |
| parent | 5e282dae08be3b900e0337efa0fae8f3ffa92cd7 (diff) | |
Allow application rules to control window size (Fix bug 4661)
Use the following in your per-app rules:
<size>
<width>A</width>
<height>B</height>
</size>
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.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |
