Top | ![]() |
![]() |
![]() |
![]() |
A output head (usually a monitor). Only enabled heads corresponds to a wl_output and PhoshMonitor. PhoshHead should be considered an implementation detail of PhoshMonitorManager and not be used outside of it.
struct zwlr_output_head_v1 *
phosh_head_get_wlr_head (PhoshHead *self
);
Get the heads wlr_head
void phosh_head_set_pending_enabled (PhoshHead *self
,gboolean enabled
);
Sets a head to pending enabled. This will become active after the next
call to
.phosh_monitor_manager_apply_monitor_config()
PhoshHeadMode *
phosh_head_get_preferred_mode (PhoshHead *self
);
Get the preferred mode
PhoshHeadMode * phosh_head_find_mode_by_name (PhoshHead *self
,const char *name
);
float * phosh_head_calculate_supported_mode_scales (PhoshHead *head
,PhoshHeadMode *mode
,int *n
,gboolean fractional
);
“wlr-head”
property“wlr-head” gpointer
The wlr head associated with this head.
Owner: PhoshHead
Flags: Read / Write / Construct Only