x11: Prevent use-after-free if a filter is removed during handling
Keep a pointer to the next element, to protect against filters removing themselves.
Closes: #2640 (closed)
Edited by Carlos Garnacho
Keep a pointer to the next element, to protect against filters removing themselves.
Closes: #2640 (closed)