display_get_primary


Description:


[ Version ( deprecated = true , deprecated_since = "0.35" ) ]
public bool display_get_primary (Channel channel, uint32 surface_id, DisplayPrimary primary)

Warning: display_get_primary is deprecated since 0.35.

Retrieve primary display surface surface_id.

Note:

use get_primary instead.

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.


Namespace: Spice