Function mir_event_get_window_output_event¶
Defined in File event.h
Function Documentation¶
-
MirWindowOutputEvent const *mir_event_get_window_output_event(MirEvent const *event)¶
Retrieve the MirWindowOutputEvent associated with a MirEvent of type mir_event_type_window_output.
The event signifies that the properties of the output the window is displayed upon have changed.
A MirWindowOutputEvent is generated either when the properties of the output the window is primarily on change (for example: by user configuration of resolution) or when the output the window is primarily on changes (for example: when a user moves the window from one monitor to another).
- Parameters:
event – [in] The event
- Returns:
The associated MirWindowOutputEvent