color-device: Add getter for the associated monitor
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
This commit is contained in:
@ -360,3 +360,9 @@ meta_color_device_get_id (MetaColorDevice *color_device)
|
||||
{
|
||||
return color_device->cd_device_id;
|
||||
}
|
||||
|
||||
MetaMonitor *
|
||||
meta_color_device_get_monitor (MetaColorDevice *color_device)
|
||||
{
|
||||
return color_device->monitor;
|
||||
}
|
||||
|
Reference in New Issue
Block a user