mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-31 22:53:29 +00:00
Xi: remove false memset from DeepCopyDeviceClasses.
It's wrong, needs to be different, but I haven't had enough coffee to figure out what it needs to do yet.
This commit is contained in:
@@ -356,7 +356,6 @@ DeepCopyDeviceClasses(DeviceIntPtr from, DeviceIntPtr to)
|
||||
int i;
|
||||
DeviceIntPtr sd;
|
||||
|
||||
memset(to->button, 0, MAP_LENGTH);
|
||||
/* merge button states from all attached devices */
|
||||
for (sd = inputInfo.devices; sd; sd = sd->next)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user