get_monitor_at_surface


Description:

public unowned Monitor get_monitor_at_surface (Surface surface)

Gets the monitor in which the largest area of surface resides, or a monitor close to surface if it is outside of all monitors.

Parameters:

this

a Display

surface

a Surface

Returns:

the monitor with the largest overlap with surface