forked from enlightenment/enlightenment
xinput: Adjust style
This commit is contained in:
parent
98a9609f8c
commit
78470d03d9
|
@ -155,8 +155,8 @@ _handle_dev_prop(int dev_slot, const char *dev, const char *prop, Device_Flags d
|
||||||
else
|
else
|
||||||
cfval = e_config->mouse_flat_accel;
|
cfval = e_config->mouse_flat_accel;
|
||||||
|
|
||||||
if ((val) && (size == 8) && (num == 2) && ((cfval == 1 && val[0] == 1) ||
|
if ((val) && (size == 8) && (num == 2) && (((cfval == 1) && (val[0] == 1)) ||
|
||||||
(cfval == 0 && val[0] == 0)))
|
((cfval == 0) && (val[0] == 0))))
|
||||||
{
|
{
|
||||||
// Does a little flip-flop for each variable
|
// Does a little flip-flop for each variable
|
||||||
val[0] = !cfval;
|
val[0] = !cfval;
|
||||||
|
|
Loading…
Reference in New Issue