Commit 14149493 authored by Guido Gunther's avatar Guido Gunther
Browse files

monitor: Add getter for wl_output

Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 8616d622
......@@ -601,3 +601,11 @@ phosh_monitor_connector_is_builtin (PhoshMonitorConnectorType conn_type)
return FALSE;
struct wl_output*
phosh_monitor_get_wl_output (PhoshMonitor *self)
g_return_val_if_fail (PHOSH_IS_MONITOR (self), NULL);
return self->wl_output;
......@@ -154,5 +154,6 @@ void phosh_monitor_set_power_save_mode (PhoshMonitor *self,
PhoshMonitorPowerSaveMode phosh_monitor_get_power_save_mode (PhoshMonitor *self);
PhoshMonitorConnectorType phosh_monitor_connector_type_from_name (const char *name);
gboolean phosh_monitor_connector_is_builtin (PhoshMonitorConnectorType type);
struct wl_output * phosh_monitor_get_wl_output (PhoshMonitor *self);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment