From cb9dd606aa80387ccaf434f7bf575bf7018ef058 Mon Sep 17 00:00:00 2001 From: QC Date: Fri, 30 Oct 2015 21:32:09 +0100 Subject: Allow dpi to be set --- source/xrmoptions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/xrmoptions.c') 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. -- cgit v1.2.3