forked from enlightenment/enlightenment
if bindings context is 'any' then action is triggerd twice, for container and for zone. maybe not the best solution but otherwise one would have to create three bindings to get the 'any' behaviour
SVN revision: 48499
This commit is contained in:
parent
5593cdfe91
commit
b859ec06a3
|
@ -926,7 +926,8 @@ _e_bindings_wheel_free(E_Binding_Wheel *bind)
|
|||
static int
|
||||
_e_bindings_context_match(E_Binding_Context bctxt, E_Binding_Context ctxt)
|
||||
{
|
||||
if (bctxt == E_BINDING_CONTEXT_ANY) return 1;
|
||||
if (bctxt == E_BINDING_CONTEXT_ANY &&
|
||||
!(ctxt == E_BINDING_CONTEXT_ZONE)) return 1;
|
||||
if (ctxt == E_BINDING_CONTEXT_UNKNOWN) return 0;
|
||||
if (bctxt == ctxt) return 1;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue