Allow application rules to control window size (Fix bug 4661)
authorDana Jansens <danakj@orodu.net>
Tue, 2 Oct 2012 01:43:56 +0000 (21:43 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 7 Oct 2012 03:04:57 +0000 (23:04 -0400)
commit10a833b2cba11349a57071a7538cae9a560b8cc9
tree661456c5b74cafa939eaa97287ff6b823ce205bf
parent5e282dae08be3b900e0337efa0fae8f3ffa92cd7
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.
data/rc.xml
data/rc.xsd
openbox/client.c
openbox/config.c
openbox/config.h
openbox/place.c
openbox/place.h
openbox/place_overlap.c