mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 06:48:05 +02:00
Revert "dix: when disabling a device, release all buttons and keys"
This reverts commit 90299556db.
The commit being reverted triggered a segfault on server shutdown when a
device posts raw events after the root windows are forced to NULL.
https://lists.debian.org/debian-x/2012/05/msg00240.html
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
f012f0c48d
commit
58dfb13953
1 changed files with 0 additions and 2 deletions
|
|
@ -432,8 +432,6 @@ DisableDevice(DeviceIntPtr dev, BOOL sendevent)
|
|||
if (*prev != dev)
|
||||
return FALSE;
|
||||
|
||||
ReleaseButtonsAndKeys(dev);
|
||||
|
||||
/* float attached devices */
|
||||
if (IsMaster(dev)) {
|
||||
for (other = inputInfo.devices; other; other = other->next) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue