diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2017-02-24 18:10:52 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2017-04-07 22:30:48 +0800 |
commit | 8163ca68212ea17f40132eaac812a7b972d7fc47 (patch) | |
tree | 79c4f5e9681816294db20de05a2d2986502dcd60 /data | |
parent | 094e0356e854c7525c991bdd580b8c5d1b532e0c (diff) | |
download | mutter-8163ca68212ea17f40132eaac812a7b972d7fc47.tar.gz |
Add support for scaled logical monitor framebuffers
This commit adds support for rendering onto enlarged per logical
monitor framebuffers, using the scaled clutter stage views, for HiDPI
enabled logical monitors.
This works by scaling the mode of the monitors in a logical monitors by
the scale, no longer relying on scaling the window actors and window
geometry for making windows have the correct size on HiDPI monitors.
It is disabled by default, as in automatically created configurations
will still use the old mode. This is partly because Xwayland clients
will not yet work good enough to make it feasible.
To enable, add the 'scale-monitor-framebuffer' keyword to the
org.gnome.mutter.experimental-features gsettings array.
It is still possible to specify the mode via the new D-Bus API, which
has been adapted.
The adaptations to the D-Bus API means the caller need to be aware of
how to position logical monitors on the stage grid. This depends on the
'layout-mode' property that is used (see the DisplayConfig D-Bus
documentation).
https://bugzilla.gnome.org/show_bug.cgi?id=777732
Diffstat (limited to 'data')
-rw-r--r-- | data/org.gnome.mutter.gschema.xml.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/data/org.gnome.mutter.gschema.xml.in b/data/org.gnome.mutter.gschema.xml.in index 56f16cb48..0f2cd4db9 100644 --- a/data/org.gnome.mutter.gschema.xml.in +++ b/data/org.gnome.mutter.gschema.xml.in @@ -112,7 +112,14 @@ available, or configurable. Don't expect adding anything in this setting to be future proof. - Currently possible keywords: (none) + Currently possible keywords: + + * "scale-monitor-framebuffer" - makes mutter default to layout logical + monitors in a logical pixel coordinate + space, while scaling monitor + framebuffers instead of window content, + to manage HiDPI monitors. Does not + require a restart. </description> </key> |