[libxfce4ui] Add missing patch
Christoph Wickert
cwickert at fedoraproject.org
Mon Dec 19 17:50:09 UTC 2011
commit 428be85460ae4f6826b3ab866a2e270bf5c0a21d
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date: Mon Dec 19 18:50:07 2011 +0100
Add missing patch
libxfce4ui-4.8.0-fix-control-shortcuts.patch | 30 ++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/libxfce4ui-4.8.0-fix-control-shortcuts.patch b/libxfce4ui-4.8.0-fix-control-shortcuts.patch
new file mode 100644
index 0000000..1b1f1d3
--- /dev/null
+++ b/libxfce4ui-4.8.0-fix-control-shortcuts.patch
@@ -0,0 +1,30 @@
+--- libxfce4ui-4.8.0/libxfce4kbd-private/xfce-shortcuts-grabber.c 2011-01-16 10:01:09.000000000 -0500
++++ hacked/libxfce4kbd-private/xfce-shortcuts-grabber.c 2011-12-18 00:29:58.343552611 -0500
+@@ -560,6 +560,9 @@
+ {
+ gchar *name;
+ gboolean result = FALSE;
++ guint keycode;
++ guint modifiers;
++ gchar *shortcut2;
+
+ g_return_val_if_fail (context != NULL, TRUE);
+ g_return_val_if_fail (context->xevent != NULL, TRUE);
+@@ -569,13 +572,16 @@
+ name = xfce_shortcuts_grabber_shortcut_name (context->grabber, context->xevent->keycode,
+ context->xevent->state);
+
+- if (G_UNLIKELY (g_str_equal (shortcut, name)))
++ xfce_shortcuts_grabber_parse_shortcut (context->grabber, shortcut, &keycode, &modifiers);
++ shortcut2 = xfce_shortcuts_grabber_shortcut_name (context->grabber, keycode, modifiers);
++ if (G_UNLIKELY (g_str_equal (shortcut2, name)))
+ {
+ context->result = shortcut;
+ result = TRUE;
+ }
+
+ g_free (name);
++ g_free (shortcut2);
+
+ gdk_flush ();
+ gdk_error_trap_pop ();
More information about the scm-commits
mailing list