Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/winlist
Modified Files:
e_winlist.c
Log Message:
handle any_mod
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/winlist/e_winlist.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_winlist.c 30 May 2008 22:30:56 -0000 1.7
+++ e_winlist.c 2 Jul 2008 05:26:54 -0000 1.8
@@ -803,7 +803,8 @@
if (ev->modifiers & ECORE_X_MODIFIER_ALT) mod |=
E_BINDING_MODIFIER_ALT;
if (ev->modifiers & ECORE_X_MODIFIER_WIN) mod |=
E_BINDING_MODIFIER_WIN;
- if (bind->key && (!strcmp(bind->key, ev->keyname)) &&
((bind->modifiers == mod)))
+ if (bind->key && (!strcmp(bind->key, ev->keyname)) &&
+ ((bind->modifiers == mod) || (bind->any_mod)))
{
act = e_action_find(bind->action);
@@ -868,7 +869,8 @@
if (ev->modifiers & ECORE_X_MODIFIER_ALT) mod |= E_BINDING_MODIFIER_ALT;
if (ev->modifiers & ECORE_X_MODIFIER_WIN) mod |= E_BINDING_MODIFIER_WIN;
- if (bind->key && (!strcmp(bind->key, ev->keyname)) && ((bind->modifiers
== mod)))
+ if (bind->key && (!strcmp(bind->key, ev->keyname)) &&
+ ((bind->modifiers == mod) || (bind->any_mod)))
{
act = e_action_find(bind->action);
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs