dix: Use CopyPartialInternalEvent in EnqueueEvent
The event might be a DeviceEvent allocated on the stack, in AccessXKeyboardEvent for instance. Fixes out-of-bounds read.
(cherry picked from commit 2ef5ef57)
Backport of !1044 (merged)
cc @mgorse
The event might be a DeviceEvent allocated on the stack, in AccessXKeyboardEvent for instance. Fixes out-of-bounds read.
(cherry picked from commit 2ef5ef57)
Backport of !1044 (merged)
cc @mgorse