forked from enlightenment/enlightenment
E (RandR): Add function & prototype to return if a monitor has been
changed. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 77714
This commit is contained in:
parent
5347a339b3
commit
136cc5035a
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue