Skip to content

Commit

Permalink
Add toggle for synchronizing QT_SCALE_FACTOR to GDK_SCALE_FACTOR
Browse files Browse the repository at this point in the history
When enabled (default), m-s-d will attempt to set QT_SCALE_FACTOR during the init phase.
When disabled, the user can then choose to control this env var elsewhere.
  • Loading branch information
vkareh authored and raveit65 committed May 31, 2018
1 parent d28e063 commit fa7491d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion schemas/org.mate.interface.gschema.xml.in
Expand Up @@ -174,7 +174,12 @@
<default>0</default>
<range min="0" max="2"/>
<summary>Window Scaling Factor</summary>
<description>Internal scale factor that maps from window coordinates to the actual device pixels. On traditional systems this is 1, but on very high density displays (e.g. HiDPI, Retina) this can be a higher value (often 2). Set to 0 to auto-detect.</description>
<description>This controls the GTK scale factor that maps from window coordinates to the actual device pixels. On traditional systems this is 1, but on very high density displays (e.g. HiDPI, Retina) this can be a higher value (often 2). Set to 0 to auto-detect.</description>
</key>
<key name="window-scaling-factor-qt-sync" type="b">
<default>true</default>
<summary>Scaling Factor for QT appllications</summary>
<description>This setting determines whether MATE controls the scale factor for QT applications. Enable to synchronize with the GTK scale factor when initializing the session, disable to control this value elsewhere. Requires restarting your session.</description>
</key>
</schema>
</schemalist>

0 comments on commit fa7491d

Please sign in to comment.