Skip to content

dix: fix two crashes triggered by disabling master devices

Peter Hutterer requested to merge whot/xserver:wip/fix-disable-crasher into master

Fixes crashers when

  • a device is reattached to a pointer when the corresponding keyboard is still disabled
  • removing a master pointer when the corresponding keyboard is still disabled

See #1611 for the reproducer

Fixes #1611

Note: this only fixes the crashers, there's at least one use-case left that triggers the (hereby introduced) bug warning (disabling a master keyboard and then trying to remove it) but... meh. All this is niche enough as it is.

Merge request reports