forked from enlightenment/enlightenment
e mouse bindings - fix wheel conflict check to check only dir 0
allows ylou to bund extra wheels for desktop switching ... much better. no conflicts with signals :)
This commit is contained in:
parent
1738aa6cab
commit
2695843659
|
@ -236,7 +236,9 @@ _basic_apply_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata
|
||||||
|
|
||||||
EINA_LIST_FOREACH_SAFE(cfdata->binding.wheel, l, l2, bw)
|
EINA_LIST_FOREACH_SAFE(cfdata->binding.wheel, l, l2, bw)
|
||||||
{
|
{
|
||||||
if ((!bw->modifiers) && ((bw->context == E_BINDING_CONTEXT_WINDOW) || (bw->context == E_BINDING_CONTEXT_ANY)))
|
if ((!bw->modifiers) &&
|
||||||
|
(bw->direction == 0) &&
|
||||||
|
((bw->context == E_BINDING_CONTEXT_WINDOW) || (bw->context == E_BINDING_CONTEXT_ANY)))
|
||||||
{
|
{
|
||||||
const char *msg = _("Unable to set a mouse wheel binding without modifiers<ps/>"
|
const char *msg = _("Unable to set a mouse wheel binding without modifiers<ps/>"
|
||||||
"on a window: conflict with existing edje signal bindings.<ps/>"
|
"on a window: conflict with existing edje signal bindings.<ps/>"
|
||||||
|
|
Loading…
Reference in New Issue