diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 2ed377741..4e2dcd539 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -420,6 +420,17 @@ e_smart_monitor_mode_get(Evas_Object *obj) return sd->mode; } +Eina_Bool +e_smart_monitor_connected_get(Evas_Object *obj) +{ + E_Smart_Data *sd; + + if (!(sd = evas_object_smart_data_get(obj))) + return EINA_FALSE; + + return sd->connected; +} + /* local functions */ static void _e_smart_add(Evas_Object *obj)