Skip to content

Commit 202d570

Browse files
vkarehraveit65
authored andcommitted
Add toggle for synchronizing QT_SCALE_FACTOR to GDK_SCALE_FACTOR
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.
1 parent e71d548 commit 202d570

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

schemas/org.mate.interface.gschema.xml.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,12 @@
174174
<default>0</default>
175175
<range min="0" max="2"/>
176176
<summary>Window Scaling Factor</summary>
177-
<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>
177+
<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>
178+
</key>
179+
<key name="window-scaling-factor-qt-sync" type="b">
180+
<default>true</default>
181+
<summary>Scaling Factor for QT appllications</summary>
182+
<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>
178183
</key>
179184
</schema>
180185
</schemalist>

0 commit comments

Comments
 (0)