You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
Currently the event_mask field has type i32. The EventMask struct exists and can be built as a bitfield, and then converted using .bits(), yielding an u32 which then needs to be cast in order to be used in the event_mask field. This is somewhat unwieldy, and it would likely be preferable to just have the WindowAttr struct contain the EventMask.
The text was updated successfully, but these errors were encountered:
Currently the
event_mask
field has typei32
. TheEventMask
struct exists and can be built as a bitfield, and then converted using.bits()
, yielding anu32
which then needs to be cast in order to be used in theevent_mask
field. This is somewhat unwieldy, and it would likely be preferable to just have theWindowAttr
struct contain theEventMask
.The text was updated successfully, but these errors were encountered: