Function mir_event_get_window_event

Function Documentation

MirWindowEvent const *mir_event_get_window_event(MirEvent const *event)

Retrieve the MirWindowEvent associated with a MirEvent of type mir_event_type_window.

See <mir_toolkit/events/surface_event.h> for accessors.

Parameters:

event[in] The event

Returns:

The associated MirWindowEvent