aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-16 12:37:45 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-16 12:41:32 +0100
commit7ddfa06d6248ca18e33781ec8ba20163fc4c2ad5 (patch)
treee4821a58b641fb5471ba2e3279d94cb0b54a9a72 /data
parent48db8cad986b0af83edb90c9fa00f58fc45b5900 (diff)
downloadarctica-greeter-7ddfa06d6248ca18e33781ec8ba20163fc4c2ad5.tar.gz
arctica-greeter-7ddfa06d6248ca18e33781ec8ba20163fc4c2ad5.tar.bz2
arctica-greeter-7ddfa06d6248ca18e33781ec8ba20163fc4c2ad5.zip
Port HiDPI support from slick-greeter.
Inspired by these slick-greeter commits: commit ffd43c4d425e70bc003b490dcddb8fbae1fffea7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Apr 8 14:13:23 2017 +0100 HiDPI: Allow to force HiDPI support ON or OFF commit 809f1b30a321ae12fdd3ba154791f9ead291acc7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 23:04:50 2017 +0100 HiDPI: Take the screen size in consideration HiDPI shouldn't be activated on large screens where the dpi is OK. commit 851fca4e5508471d6f388edcd0327c3fc5b2b12f Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 18:43:42 2017 +0100 Add HiDPI support Only support 1x and 2x scale ratios for now. Also add a setting so the user can disable HiDPI support.
Diffstat (limited to 'data')
-rw-r--r--data/org.ArcticaProject.arctica-greeter.gschema.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/org.ArcticaProject.arctica-greeter.gschema.xml b/data/org.ArcticaProject.arctica-greeter.gschema.xml
index 7e8adc8..95ab139 100644
--- a/data/org.ArcticaProject.arctica-greeter.gschema.xml
+++ b/data/org.ArcticaProject.arctica-greeter.gschema.xml
@@ -106,6 +106,15 @@
<default>300</default>
<summary>Number of seconds of inactivity before blanking the screen. Set to 0 to never timeout.</summary>
</key>
+ <key name="enable-hidpi" type="s">
+ <choices>
+ <choice value='on'/>
+ <choice value='off'/>
+ <choice value='auto'/>
+ </choices>
+ <default>'auto'</default>
+ <summary>Whether to enable HiDPI support</summary>
+ </key>
<key name="remote-service-fqdn" type="s">
<default>'service.arctica-project.org'</default>
<summary>Default FQDN for host offering Remote Logon Service</summary>