diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 3f627f45a..40a091e04 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -426,6 +426,17 @@ e_smart_monitor_connected_get(Evas_Object *obj) return sd->connected; } +Eina_Bool +e_smart_monitor_changed_get(Evas_Object *obj) +{ + E_Smart_Data *sd; + + if (!(sd = evas_object_smart_data_get(obj))) + return EINA_FALSE; + + return sd->changed; +} + /* local functions */ static void _e_smart_add(Evas_Object *obj) diff --git a/src/modules/conf_randr/e_smart_monitor.h b/src/modules/conf_randr/e_smart_monitor.h index 80592cc40..8ef6eadea 100644 --- a/src/modules/conf_randr/e_smart_monitor.h +++ b/src/modules/conf_randr/e_smart_monitor.h @@ -13,6 +13,7 @@ void e_smart_monitor_position_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y Ecore_X_Randr_Orientation e_smart_monitor_orientation_get(Evas_Object *obj); Ecore_X_Randr_Mode_Info *e_smart_monitor_mode_get(Evas_Object *obj); Eina_Bool e_smart_monitor_connected_get(Evas_Object *obj); +Eina_Bool e_smart_monitor_changed_get(Evas_Object *obj); # define E_SMART_MONITOR_H # endif