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.

Returns a monitor close to surface if it is outside of all monitors.

Parameters:

this

a `GdkDisplay`

surface

a `GdkSurface`

Returns:

the monitor with the largest overlap with surface