[ CCode ( cname = "spice_display_get_primary" ) ]
[ Version ( deprecated = true , deprecated_since = "0.35" ) ]
public bool display_get_primary (uint32 surface_id, DisplayPrimary primary)
Warning: display_get_primary is deprecated since 0.35.
Retrieve primary display surface surface_id.
use display_channel_get_primary instead.
| this | |
| surface_id |
a surface id |
| primary |
|
true if the primary surface was found and its details collected in |