mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 19:34:26 +00:00
Xi: remove duplicate copying of kbdfeed and ptrfeed.
This commit is contained in:
@@ -424,22 +424,6 @@ DeepCopyDeviceClasses(DeviceIntPtr from, DeviceIntPtr to)
|
||||
ALLOC_COPY_CLASS_IF(proximity, ProximityClassRec);
|
||||
ALLOC_COPY_CLASS_IF(absolute, AbsoluteClassRec);
|
||||
|
||||
ALLOC_COPY_CLASS_IF(kbdfeed, KbdFeedbackClassRec);
|
||||
#ifdef XKB
|
||||
if (to->kbdfeed)
|
||||
{
|
||||
to->kbdfeed->xkb_sli = NULL;
|
||||
/* XXX: XkbSrvLedInfo needs to be copied*/
|
||||
to->kbdfeed->next = NULL;
|
||||
}
|
||||
#endif
|
||||
ALLOC_COPY_CLASS_IF(ptrfeed, PtrFeedbackClassRec);
|
||||
if (to->ptrfeed)
|
||||
{
|
||||
to->ptrfeed->next = NULL;
|
||||
}
|
||||
|
||||
|
||||
DeepCopyFeedbackClasses(from, to);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user