Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

gdk::WindowAttr should contain an EventMask in the event_mask field #338

Closed
tsahyt opened this issue Mar 19, 2020 · 0 comments · Fixed by #342
Closed

gdk::WindowAttr should contain an EventMask in the event_mask field #338

tsahyt opened this issue Mar 19, 2020 · 0 comments · Fixed by #342

Comments

@tsahyt
Copy link

tsahyt commented Mar 19, 2020

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.

@sdroege sdroege mentioned this issue Mar 22, 2020
40 tasks
gdesmott pushed a commit to gdesmott/gdk that referenced this issue Apr 10, 2020
gdesmott pushed a commit to gdesmott/gdk that referenced this issue Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant