xinput: Fix typo, add config check

master
Nekobit 3 weeks ago committed by Gitea
parent 78470d03d9
commit 766360359b
  1. 2
      src/bin/e_comp_x_devices.c
  2. 8
      src/bin/e_config.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]);

@ -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)

Loading…
Cancel
Save