Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tireg/a4fe6b798dcce93b9c5df6690cd4d29e to your computer and use it in GitHub Desktop.
Save Tireg/a4fe6b798dcce93b9c5df6690cd4d29e to your computer and use it in GitHub Desktop.
Fix Gala building with mutter 3.30 (See https://github.com/elementary/gala/issues/303 for instructions)
diff --git a/data/20_elementary.pantheon.wm.gschema.override b/data/20_elementary.pantheon.wm.gschema.override
new file mode 100644
index 0000000..ef292ee
--- /dev/null
+++ b/data/20_elementary.pantheon.wm.gschema.override
@@ -0,0 +1,6 @@
+[org.gnome.mutter:Pantheon]
+dynamic-workspaces = true
+attach-modal-dialogs = false
+button-layout = 'close:maximize'
+edge-tiling = true
+enable-animations = true
diff --git a/data/meson.build b/data/meson.build
index b99cfc0..c05d093 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -25,6 +25,7 @@ i18n.merge_file(
install_dir: join_paths(data_dir, 'applications')
)
install_data(['gala.desktop', 'gala-daemon.desktop', 'gala-wayland.desktop'], install_dir: join_paths(data_dir, 'applications'))
+install_data(files('20_elementary.pantheon.wm.gschema.override'), install_dir: join_paths(data_dir, 'glib-2.0', 'schemas'))
icons_dir = join_paths(get_option('datadir'), 'icons', 'hicolor')
install_data('icons/32x32/multitasking-view.svg', install_dir: join_paths(icons_dir, '32x32', 'apps'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment