[muffin] fix alt-tab keybinding

leigh123linux leigh123linux at fedoraproject.org
Thu May 9 05:09:05 UTC 2013


commit df51dc3344097c479df059767d980307884c3e4f
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Thu May 9 06:09:01 2013 +0100

    fix alt-tab keybinding

 alt-tab.patch |   19 +++++++++++++++++++
 muffin.spec   |    9 ++++++++-
 2 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/alt-tab.patch b/alt-tab.patch
new file mode 100644
index 0000000..f16085a
--- /dev/null
+++ b/alt-tab.patch
@@ -0,0 +1,19 @@
+--- a/src/core/keybindings.c
++++ b/src/core/keybindings.c
+@@ -3909,14 +3909,14 @@ init_builtin_key_bindings (MetaDisplay *
+                           handle_switch, META_TAB_LIST_GROUP);
+ 
+   add_builtin_keybinding (display,
+-                          "switch-windows",
++                          "switch-applications",
+                           SCHEMA_COMMON_KEYBINDINGS,
+                           META_KEY_BINDING_REVERSES,
+                           META_KEYBINDING_ACTION_SWITCH_WINDOWS,
+                           handle_switch, META_TAB_LIST_NORMAL);
+ 
+   add_builtin_keybinding (display,
+-                          "switch-windows-backward",
++                          "switch-applications-backward",
+                           SCHEMA_COMMON_KEYBINDINGS,
+                           REVERSES_AND_REVERSED,
+                           META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD,
diff --git a/muffin.spec b/muffin.spec
index 102549f..f6ca25e 100644
--- a/muffin.spec
+++ b/muffin.spec
@@ -2,7 +2,7 @@
 
 Name:          muffin
 Version:       1.8.0
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       Window and compositing manager based on Clutter
 
 Group:         User Interface/Desktops
@@ -12,6 +12,9 @@ URL:           https://github.com/linuxmint/muffin
 # wget https://github.com/linuxmint/muffin/tarball/%%{_internel_version} -O muffin-%%{version}.git%%{_internel_version}.tar.gz
 Source0:       http://leigh123linux.fedorapeople.org/pub/muffin/source/muffin-%{version}.tar.gz
 
+# https://github.com/linuxmint/muffin/pull/81
+Patch0:        alt-tab.patch
+
 
 BuildRequires: pkgconfig(clutter-1.0) >= 1.7.5
 BuildRequires: pkgconfig(pango)
@@ -62,6 +65,7 @@ utilities for testing Metacity/Muffin themes.
 
 %prep
 %setup -q
+%patch0 -p1
 NOCONFIGURE=1 ./autogen.sh
 
 %build
@@ -131,6 +135,9 @@ fi
 %doc %{_mandir}/man1/muffin-window-demo.1.*
 
 %changelog
+* Thu May 09 2013 Leigh Scott <leigh123linux at googlemail.com> - 1.8.0-3
+- fix alt-tab keybinding
+
 * Thu May 09 2013 Leigh Scott <leigh123linux at googlemail.com> - 1.8.0-2
 - revert some of the previous changes
 


More information about the scm-commits mailing list