[PATCH] Fix write to uninitialized bytes for XCB event

Pavel Sanda sanda at lyx.org
Wed Feb 19 07:39:35 UTC 2020


On Tue, Feb 18, 2020 at 09:49:08PM -0500, Scott Kostyshak wrote:
> Could anyone take a close look at this? If there is a better fix, please
> go ahead.

Looks OK to me. 
I would just put into comments TODO to switch to
Q_DECLARE_XCB_EVENT(event, xcb_selection_notify_event_t); once we require qt >= 5.6.3.
We could even import ifdefed macro, but that's probably overkill.

Pavel


More information about the lyx-devel mailing list