get_primary


Description:

[ Version ( since = "0.35" ) ]
public static bool get_primary (Channel channel, uint32 surface_id, DisplayPrimary primary)

Retrieve primary display surface surface_id.

Parameters:

channel

a DisplayChannel

surface_id

a surface id

primary

a DisplayPrimary

Returns:

true if the primary surface was found and its details collected in primary.