Commit bea76004 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Georges Basile Stavracas Neto

logical-monitor: Pass output when iterating over CRTCs

While not currently used by any users, it'll be useful in future
commits.

#548
!525
parent 8932388d
......@@ -242,6 +242,7 @@ foreach_crtc (MetaMonitor *monitor,
ForeachCrtcData *data = user_data;
data->func (data->logical_monitor,
monitor_crtc_mode->output,
meta_output_get_assigned_crtc (monitor_crtc_mode->output),
data->user_data);
......
......@@ -63,6 +63,7 @@ G_DECLARE_FINAL_TYPE (MetaLogicalMonitor, meta_logical_monitor,
GObject)
typedef void (* MetaLogicalMonitorCrtcFunc) (MetaLogicalMonitor *logical_monitor,
MetaOutput *output,
MetaCrtc *crtc,
gpointer user_data);
......
......@@ -584,6 +584,7 @@ typedef struct _GetSupportedKmsFormatsData
static void
get_supported_kms_formats_crtc_func (MetaLogicalMonitor *logical_monitor,
MetaOutput *output,
MetaCrtc *crtc,
gpointer user_data)
{
......@@ -1827,6 +1828,7 @@ typedef struct _SetCrtcFbData
static void
set_crtc_fb_cb (MetaLogicalMonitor *logical_monitor,
MetaOutput *output,
MetaCrtc *crtc,
gpointer user_data)
{
......@@ -1937,6 +1939,7 @@ typedef struct _FlipCrtcData
static void
flip_crtc (MetaLogicalMonitor *logical_monitor,
MetaOutput *output,
MetaCrtc *crtc,
gpointer user_data)
{
......
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