This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch needs-moar-input
in repository enlightenment.

View the commit online.

commit 5fc98a3d3b9c481a46cca3d45ec74173fd7e1346
Author: Nekobit <m...@ow.nekobit.net>
AuthorDate: Fri Mar 10 11:17:52 2023 -0500

    xinput: Fix typo, add config check
---
 src/bin/e_comp_x_devices.c | 2 +-
 src/bin/e_config.c         | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_x_devices.c b/src/bin/e_comp_x_devices.c
index a68660878..c04d0ee99 100644
--- a/src/bin/e_comp_x_devices.c
+++ b/src/bin/e_comp_x_devices.c
@@ -173,7 +173,7 @@ _handle_dev_prop(int dev_slot, const char *dev, const char *prop, Device_Flags d
         unsigned char *val = ecore_x_input_device_property_get
           (dev_slot, prop, &num, &fmt, &size);
         
-        if ((val) && (size == 8) && (num == 1) && ((cfval != val[0]))
+        if ((val) && (size == 8) && (num == 1) && (cfval != val[0]))
           {
              val[0] = cfval;
              printf("DEV: change [%s] [%s] -> %i\n", dev, prop, val[0]);
diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index cee67ffb9..00bd43914 100644
--- a/src/bin/e_config.c
+++ b/src/bin/e_config.c
@@ -1804,6 +1804,14 @@ e_config_load(void)
                e_config->backlight.ddc = 1;
                e_config_save_queue();
             }
+          CONFIG_VERSION_CHECK(36)
+            {
+               CONFIG_VERSION_UPDATE_INFO(36);
+               e_config->mouse_flat_accel = 0;
+               e_config->mouse_hires_scroll = 1;
+               e_config->touch_flat_accel = 0;
+               e_config_save_queue();
+            }
      }
    elm_config_profile_set(_e_config_profile);
    if (!e_config->remember_internal_fm_windows)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to