summaryrefslogtreecommitdiff
path: root/openbox/config.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2012-10-01 21:43:56 -0400
committerDana Jansens <danakj@orodu.net>2012-10-06 23:04:57 -0400
commit10a833b2cba11349a57071a7538cae9a560b8cc9 (patch)
tree661456c5b74cafa939eaa97287ff6b823ce205bf /openbox/config.h
parent5e282dae08be3b900e0337efa0fae8f3ffa92cd7 (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/config.h')
-rw-r--r--openbox/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbox/config.h b/openbox/config.h
index a111a06f..87662ab9 100644
--- a/openbox/config.h
+++ b/openbox/config.h
@@ -47,6 +47,12 @@ struct _ObAppSettings
gboolean pos_given;
gboolean pos_force;
+ gint width_num;
+ gint width_denom;
+ gint height_num;
+ gint height_denom;
+ gboolean size_given;
+
guint desktop;
gint shade;
gint decor;