summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-10-30 21:32:09 +0100
committerQC <qball@gmpclient.org>2015-10-30 21:32:09 +0100
commitcb9dd606aa80387ccaf434f7bf575bf7018ef058 (patch)
treeb1deed4bb4a805cad5e42b05b833693575d1982a /source/xrmoptions.c
parent2ae79395230fc914342c1b19f5ffb4a8030f3f36 (diff)
Allow dpi to be set
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index c91bbd86..648fa697 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -134,7 +134,8 @@ static XrmOption xrmOptions[] = {
{ xrm_Boolean, "hide-scrollbar", { .num = &config.hide_scrollbar }, NULL, "Hide scroll-bar" },
{ xrm_Boolean, "markup-rows", { .num = &config.markup_rows }, NULL, "Show markup" },
{ xrm_Boolean, "fullscreen", { .num = &config.fullscreen }, NULL, "Fullscreen" },
- { xrm_Boolean, "fake-transparency", { .num = &config.fake_transparency }, NULL, "Fake transparency" }
+ { xrm_Boolean, "fake-transparency", { .num = &config.fake_transparency }, NULL, "Fake transparency" },
+ { xrm_SNumber, "dpi", { .snum = &config.dpi }, NULL, "DPI" }
};
// Dynamic options.