Enable side-by-side tiling
Override the metacity schema for side-by-side tiling to change the default behavior when running mutter in GNOME Shell. https://bugzilla.gnome.org/show_bug.cgi?id=606260
This commit is contained in:
parent
6f75c8c172
commit
a2553f48e2
@ -43,5 +43,24 @@
|
|||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
|
<schema>
|
||||||
|
<key>/schemas/desktop/gnome/shell/windows/side_by_side_tiling</key>
|
||||||
|
<applyto>/desktop/gnome/shell/windows/side_by_side_tiling</applyto>
|
||||||
|
<owner>gnome-shell</owner>
|
||||||
|
<type>bool</type>
|
||||||
|
<default>true</default>
|
||||||
|
<locale name="C">
|
||||||
|
<short>enable side-by-side tiling when dropping windows on screen edges</short>
|
||||||
|
<long>
|
||||||
|
If enabled, dropping windows on screen edges maximizes them
|
||||||
|
vertically and resizes them horizontally to cover half of the
|
||||||
|
available area.
|
||||||
|
|
||||||
|
This key overrides /apps/metacity/general/side_by_side_tiling when
|
||||||
|
running GNOME Shell.
|
||||||
|
</long>
|
||||||
|
</locale>
|
||||||
|
</schema>
|
||||||
|
|
||||||
</schemalist>
|
</schemalist>
|
||||||
</gconfschemafile>
|
</gconfschemafile>
|
||||||
|
@ -158,6 +158,8 @@ gnome_shell_plugin_init (GnomeShellPlugin *shell_plugin)
|
|||||||
"/desktop/gnome/shell/windows/attach_modal_dialogs");
|
"/desktop/gnome/shell/windows/attach_modal_dialogs");
|
||||||
meta_prefs_override_preference_location ("/apps/metacity/general/button_layout",
|
meta_prefs_override_preference_location ("/apps/metacity/general/button_layout",
|
||||||
"/desktop/gnome/shell/windows/button_layout");
|
"/desktop/gnome/shell/windows/button_layout");
|
||||||
|
meta_prefs_override_preference_location ("/apps/metacity/general/side_by_side_tiling",
|
||||||
|
"/desktop/gnome/shell/windows/side_by_side_tiling");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user