Fix a problem with the previous change

This commit is contained in:
Matthias Clasen 2009-11-26 08:56:04 +00:00
parent 95644e0488
commit 2486a74f9d
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Summary: Unobtrusive window manager Summary: Unobtrusive window manager
Name: metacity Name: metacity
Version: 2.28.0 Version: 2.28.0
Release: 10%{?dist} Release: 11%{?dist}
URL: http://download.gnome.org/sources/metacity/ URL: http://download.gnome.org/sources/metacity/
Source0: http://download.gnome.org/sources/metacity/2.28/metacity-%{version}.tar.bz2 Source0: http://download.gnome.org/sources/metacity/2.28/metacity-%{version}.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=558723 # http://bugzilla.gnome.org/show_bug.cgi?id=558723
@ -204,6 +204,9 @@ fi
%{_mandir}/man1/metacity-window-demo.1.gz %{_mandir}/man1/metacity-window-demo.1.gz
%changelog %changelog
* Thu Nov 26 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-11
- Fix a problem with the previous change
* Tue Nov 24 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-10 * Tue Nov 24 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-10
- Disable key repeat for screenshot keybinding (#506369) - Disable key repeat for screenshot keybinding (#506369)

View File

@ -69,7 +69,7 @@
+ return; + return;
+ } + }
+ +
+ if (binding->repeating) + if (binding->repeating && (binding->handler->flags & BINDING_NO_REPEAT))
+ { + {
+ meta_topic (META_DEBUG_KEYBINDINGS, + meta_topic (META_DEBUG_KEYBINDINGS,
+ "Key repeat ignored, binding %s\n", + "Key repeat ignored, binding %s\n",