get_primary
Description:
[ Version ( since = "0.35" ) ]
public static bool get_primary (Channel channel, uint32 surface_id, DisplayPrimary primary)
public static bool get_primary (Channel channel, uint32 surface_id, DisplayPrimary primary)
Retrieve primary display surface surface_id
.
Parameters:
channel | |
surface_id |
a surface id |
primary |
Returns:
true if the primary surface was found and its details collected in |