window-list: Use getter methods for events
The underlying structs were made opaque a while ago, so direct access to the struct fields is no longer possible.
The underlying structs were made opaque a while ago, so direct access to the struct fields is no longer possible.