mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 05:42:14 +00:00
8163ca6821
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
151 lines
5.4 KiB
XML
151 lines
5.4 KiB
XML
<schemalist>
|
||
<schema id="org.gnome.mutter" path="/org/gnome/mutter/"
|
||
gettext-domain="@GETTEXT_DOMAIN">
|
||
|
||
<key name="overlay-key" type="s">
|
||
<default>'Super_L'</default>
|
||
<summary>Modifier to use for extended window management operations</summary>
|
||
<description>
|
||
This key will initiate the “overlay”, which is a combination window
|
||
overview and application launching system. The default is intended
|
||
to be the “Windows key” on PC hardware.
|
||
|
||
It’s expected that this binding either the default or set to
|
||
the empty string.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="attach-modal-dialogs" type="b">
|
||
<default>false</default>
|
||
<summary>Attach modal dialogs</summary>
|
||
<description>
|
||
When true, instead of having independent titlebars, modal dialogs
|
||
appear attached to the titlebar of the parent window and are moved
|
||
together with the parent window.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="edge-tiling" type="b">
|
||
<default>false</default>
|
||
<summary>Enable edge tiling when dropping windows on screen edges</summary>
|
||
<description>
|
||
If enabled, dropping windows on vertical screen edges maximizes them
|
||
vertically and resizes them horizontally to cover half of the available
|
||
area. Dropping windows on the top screen edge maximizes them completely.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="dynamic-workspaces" type="b">
|
||
<default>false</default>
|
||
<summary>Workspaces are managed dynamically</summary>
|
||
<description>
|
||
Determines whether workspaces are managed dynamically or
|
||
whether there’s a static number of workspaces (determined
|
||
by the num-workspaces key in org.gnome.desktop.wm.preferences).
|
||
</description>
|
||
</key>
|
||
|
||
<key name="workspaces-only-on-primary" type="b">
|
||
<default>false</default>
|
||
<summary>Workspaces only on primary</summary>
|
||
<description>
|
||
Determines whether workspace switching should happen for windows
|
||
on all monitors or only for windows on the primary monitor.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="no-tab-popup" type="b">
|
||
<default>false</default>
|
||
<summary>No tab popup</summary>
|
||
<description>
|
||
Determines whether the use of popup and highlight frame should
|
||
be disabled for window cycling.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="focus-change-on-pointer-rest" type="b">
|
||
<default>false</default>
|
||
<summary>Delay focus changes until the pointer stops moving</summary>
|
||
<description>
|
||
If set to true, and the focus mode is either “sloppy” or “mouse”
|
||
then the focus will not be changed immediately when entering a
|
||
window, but only after the pointer stops moving.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="draggable-border-width" type="i">
|
||
<default>10</default>
|
||
<range min="0" max="64"/>
|
||
<summary>Draggable border width</summary>
|
||
<description>
|
||
The amount of total draggable borders. If the theme’s visible
|
||
borders are not enough, invisible borders will be added to meet
|
||
this value.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="auto-maximize" type="b">
|
||
<default>true</default>
|
||
<summary>Auto maximize nearly monitor sized windows</summary>
|
||
<description>
|
||
If enabled, new windows that are initially the size of the monitor
|
||
automatically get maximized.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="center-new-windows" type="b">
|
||
<default>false</default>
|
||
<summary>Place new windows in the center</summary>
|
||
<description>
|
||
When true, the new windows will always be put in the center of the
|
||
active screen of the monitor.
|
||
</description>
|
||
</key>
|
||
|
||
<key name="experimental-features" type="as">
|
||
<default>[]</default>
|
||
<summary>Enable experimental features</summary>
|
||
<description>
|
||
To enable experimental features, add the feature keyword to the list.
|
||
Whether the feature requires restarting the compositor depends on the
|
||
given feature. Any experimental feature is not required to still be
|
||
available, or configurable. Don't expect adding anything in this
|
||
setting to be future proof.
|
||
|
||
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>
|
||
|
||
<child name="keybindings" schema="org.gnome.mutter.keybindings"/>
|
||
|
||
</schema>
|
||
<schema id="org.gnome.mutter.keybindings" path="/org/gnome/mutter/keybindings/">
|
||
|
||
<key name="toggle-tiled-left" type="as">
|
||
<default><![CDATA[['<Super>Left']]]></default>
|
||
</key>
|
||
|
||
<key name="toggle-tiled-right" type="as">
|
||
<default><![CDATA[['<Super>Right']]]></default>
|
||
</key>
|
||
|
||
<key name="tab-popup-select" type="as">
|
||
<default>[]</default>
|
||
<summary>Select window from tab popup</summary>
|
||
</key>
|
||
|
||
<key name="tab-popup-cancel" type="as">
|
||
<default>[]</default>
|
||
<summary>Cancel tab popup</summary>
|
||
</key>
|
||
|
||
</schema>
|
||
</schemalist>
|