mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Xi: remove now obsolete oldXkbInfo.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
committed by
Peter Hutterer
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user