mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
logical-monitor: Pass monitor in the for each CRTC helper callback
Will be used in later commits. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1042
This commit is contained in:
parent
1b67f49f7f
commit
7f6cafa847
@ -242,6 +242,7 @@ foreach_crtc (MetaMonitor *monitor,
|
||||
ForeachCrtcData *data = user_data;
|
||||
|
||||
data->func (data->logical_monitor,
|
||||
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,
|
||||
MetaMonitor *monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data);
|
||||
|
@ -601,6 +601,7 @@ typedef struct _GetSupportedKmsFormatsData
|
||||
|
||||
static void
|
||||
get_supported_kms_formats_crtc_func (MetaLogicalMonitor *logical_monitor,
|
||||
MetaMonitor *monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data)
|
||||
@ -1619,6 +1620,7 @@ typedef struct _SetCrtcModeData
|
||||
|
||||
static void
|
||||
set_crtc_mode (MetaLogicalMonitor *logical_monitor,
|
||||
MetaMonitor *monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data)
|
||||
@ -1677,6 +1679,7 @@ typedef struct _FlipCrtcData
|
||||
|
||||
static void
|
||||
flip_crtc (MetaLogicalMonitor *logical_monitor,
|
||||
MetaMonitor *monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data)
|
||||
|
Loading…
Reference in New Issue
Block a user