[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] Super_L keybinding



Hello,

I was wondering if there is a reason why, when using the keybinding configuration dialog, you can't bind to just the Super_L or Super_R keys anymore. I can do it through enlightenment_remote but the config panel dosen't accept it. (I typically bind Super_L to exec eterm.)

The attached patch will remove this limitation, but as I don't know that code I don't want to just apply it. Any reasons why this shouldn't go in? Or why it's currently setup this way?

Thanks,
dan
Index: src/bin/e_int_config_keybindings.c
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_keybindings.c,v
retrieving revision 1.17
diff -u -r1.17 e_int_config_keybindings.c
--- src/bin/e_int_config_keybindings.c	1 Apr 2006 09:24:56 -0000	1.17
+++ src/bin/e_int_config_keybindings.c	10 Apr 2006 18:46:04 -0000
@@ -1501,8 +1501,7 @@
 
       if (!strcmp(ev->keysymbol, "Control_L") || !strcmp(ev->keysymbol, "Control_R") ||
 	  !strcmp(ev->keysymbol, "Shift_L") || !strcmp(ev->keysymbol, "Shift_R") ||
-	  !strcmp(ev->keysymbol, "Alt_L") || !strcmp(ev->keysymbol, "Alt_R") ||
-	  !strcmp(ev->keysymbol, "Super_L") || !strcmp(ev->keysymbol, "Super_R"))
+	  !strcmp(ev->keysymbol, "Alt_L") || !strcmp(ev->keysymbol, "Alt_R"))
 	;
       else
 	{