From a9805b258da816eb477dff2fa96dd1259d9a5c7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Wauthy?= <pollux@xfce.org>
Date: Thu, 11 Nov 2004 15:48:30 +0000
Subject: [PATCH] attempting to fix #377

(Old svn revision: 12137)
---
 mcs-plugin/xfwm4_shortcuteditor.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/mcs-plugin/xfwm4_shortcuteditor.c b/mcs-plugin/xfwm4_shortcuteditor.c
index a4b95b18a..3e6f98fac 100644
--- a/mcs-plugin/xfwm4_shortcuteditor.c
+++ b/mcs-plugin/xfwm4_shortcuteditor.c
@@ -1159,7 +1159,11 @@ cb_compose_shortcut (GtkWidget * widget, GdkEventKey * event, gpointer data)
     {
         if (strlen (*current_shortcut) > 0 && (strcmp (*current_shortcut, "Mod2") != 0))
         {
-            strcat (shortcut_string, *current_shortcut);
+	    if (strcmp (*current_shortcut, "Mod4") == 0)
+               strcat (shortcut_string, "Super_L");	  
+	    else
+	       strcat (shortcut_string, *current_shortcut);
+
             strcat (shortcut_string, "+");
         }
         *current_shortcut++;
-- 
GitLab