Xi: remove now obsolete oldXkbInfo.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
parent
5e0967f5fc
commit
caade11b84
|
@ -474,7 +474,6 @@ DeepCopyDeviceClasses(DeviceIntPtr from, DeviceIntPtr to)
|
|||
|
||||
if (from->key)
|
||||
{
|
||||
struct _XkbSrvInfo *oldXkbInfo;
|
||||
if (!to->key)
|
||||
{
|
||||
classes = dixLookupPrivate(&to->devPrivates,
|
||||
|
@ -489,8 +488,6 @@ DeepCopyDeviceClasses(DeviceIntPtr from, DeviceIntPtr to)
|
|||
classes->key = NULL;
|
||||
}
|
||||
|
||||
oldXkbInfo = to->key->xkbInfo;
|
||||
to->key->xkbInfo = oldXkbInfo;
|
||||
CopyKeyClass(from, to);
|
||||
} else if (to->key && !from->key)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user