mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-03-24 01:24:04 +00:00
Remove two dead assignments
Value stored but never read. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -398,7 +398,7 @@ xf86libinput_shared_disable(struct xf86libinput_device *shared_device)
|
|||||||
|
|
||||||
libinput_device_set_user_data(device, NULL);
|
libinput_device_set_user_data(device, NULL);
|
||||||
libinput_path_remove_device(device);
|
libinput_path_remove_device(device);
|
||||||
device = libinput_device_unref(device);
|
libinput_device_unref(device);
|
||||||
shared_device->device = NULL;
|
shared_device->device = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3624,13 +3624,13 @@ update_mode_prop_cb(ClientPtr client, pointer closure)
|
|||||||
groups[idx] = mode;
|
groups[idx] = mode;
|
||||||
|
|
||||||
driver_data->allow_mode_group_updates = true;
|
driver_data->allow_mode_group_updates = true;
|
||||||
rc = XIChangeDeviceProperty(pInfo->dev,
|
XIChangeDeviceProperty(pInfo->dev,
|
||||||
prop_mode_groups,
|
prop_mode_groups,
|
||||||
XA_INTEGER, 8,
|
XA_INTEGER, 8,
|
||||||
PropModeReplace,
|
PropModeReplace,
|
||||||
val->size,
|
val->size,
|
||||||
groups,
|
groups,
|
||||||
TRUE);
|
TRUE);
|
||||||
driver_data->allow_mode_group_updates = false;
|
driver_data->allow_mode_group_updates = false;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
|||||||
Reference in New Issue
Block a user