Function mir_window_output_event_get_scale

Function Documentation

float mir_window_output_event_get_scale(MirWindowOutputEvent const *ev)

Retrieve the suggested scaling factor of the new output configuration of a MirWindowOutputEvent.

Parameters:

ev[in] The event

Returns:

The new scaling factor of the output the window is primarily on.