Revert "dix: when disabling a device, release all buttons and keys"

This reverts commit 90299556.

The commit being reverted triggered a segfault on server shutdown when a
device posts raw events after the root windows are forced to NULL. Jeremy Huddleston Sequoia's avatarJeremy Huddleston <>
parent f012f0c4
......@@ -432,8 +432,6 @@ DisableDevice(DeviceIntPtr dev, BOOL sendevent)
if (*prev != dev)
return FALSE;
/* float attached devices */
if (IsMaster(dev)) {
for (other = inputInfo.devices; other; other = other->next) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment