Function mir_window_output_event_get_refresh_rate

Function Documentation

double mir_window_output_event_get_refresh_rate(MirWindowOutputEvent const *ev)

Retrieve the maximum refresh rate of the output(s) associated with a MirWindowOutputEvent.

For variable refresh rate displays this represents the maximum refresh rate of the display to aim for, rather than a measurement of recent performance.

Parameters:

ev[in] The event

Returns:

The refresh rate in Hz