diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-10 12:55:44 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-06-07 14:13:49 +1000 |
commit | 9c0e820216cd1631f75b037b7908d55ac091692c (patch) | |
tree | aa53b804abd979a7c1d96715f087c2c31ec27e2c /Xi/xichangehierarchy.c | |
parent | e433d1046c222f9d969c2c28a4651ff9097614f4 (diff) |
Xi: drop forced unpairing when changing the hierarchy
Devices are unpaired as needed on DisableDevice now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'Xi/xichangehierarchy.c')
-rw-r--r-- | Xi/xichangehierarchy.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Xi/xichangehierarchy.c b/Xi/xichangehierarchy.c index 756aaac06..89f16d8be 100644 --- a/Xi/xichangehierarchy.c +++ b/Xi/xichangehierarchy.c @@ -293,12 +293,6 @@ remove_master(ClientPtr client, xXIRemoveMasterInfo * r, int flags[MAXDEVICES]) } } - /* can't disable until we removed pairing */ - keybd->spriteInfo->paired = NULL; - ptr->spriteInfo->paired = NULL; - XTestptr->spriteInfo->paired = NULL; - XTestkeybd->spriteInfo->paired = NULL; - /* disable the remove the devices, XTest devices must be done first else the sprites they rely on will be destroyed */ DisableDevice(XTestptr, FALSE); |