diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c index 0d3eb0cff..b94e783ba 100644 --- a/src/backends/meta-monitor.c +++ b/src/backends/meta-monitor.c @@ -353,6 +353,15 @@ meta_monitor_supports_underscanning (MetaMonitor *monitor) return output_info->supports_underscanning; } +gboolean +meta_monitor_supports_color_transform (MetaMonitor *monitor) +{ + const MetaOutputInfo *output_info = + meta_monitor_get_main_output_info (monitor); + + return output_info->supports_color_transform; +} + gboolean meta_monitor_is_underscanning (MetaMonitor *monitor) { diff --git a/src/backends/meta-monitor.h b/src/backends/meta-monitor.h index 3e81c7a09..6973e348a 100644 --- a/src/backends/meta-monitor.h +++ b/src/backends/meta-monitor.h @@ -116,6 +116,8 @@ gboolean meta_monitor_is_primary (MetaMonitor *monitor); gboolean meta_monitor_supports_underscanning (MetaMonitor *monitor); +gboolean meta_monitor_supports_color_transform (MetaMonitor *monitor); + gboolean meta_monitor_is_underscanning (MetaMonitor *monitor); gboolean meta_monitor_get_max_bpc (MetaMonitor *monitor,