[PATCH] Fix write to uninitialized bytes for XCB event
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Feb 19 10:51:58 UTC 2020
Stealing the definition of the macro when we do not have it is the best solution IMO.
JMarc
Le 19 février 2020 08:39:35 GMT+01:00, Pavel Sanda <sanda at lyx.org> a écrit :
>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.
More information about the lyx-devel
mailing list