parent
9d7a55f456
commit
7a3eb421ff
|
@ -200,7 +200,7 @@ _user_wallpaper_get(E_Zone *zone)
|
|||
EAPI int
|
||||
e_desklock_show_autolocked(void)
|
||||
{
|
||||
if (e_util_fullscreen_curreny_any()) return 0;
|
||||
if (e_util_fullscreen_current_any()) return 0;
|
||||
if (_e_desklock_autolock_time < 1.0)
|
||||
_e_desklock_autolock_time = ecore_loop_time_get();
|
||||
return e_desklock_show(EINA_FALSE);
|
||||
|
@ -1186,7 +1186,7 @@ static Eina_Bool
|
|||
_e_desklock_cb_idle_poller(void *data __UNUSED__)
|
||||
{
|
||||
if ((e_config->desklock_autolock_idle) && (!e_config->mode.presentation) &&
|
||||
(!e_util_fullscreen_curreny_any()))
|
||||
(!e_util_fullscreen_current_any()))
|
||||
{
|
||||
double idle, max;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ e_dpms_update(void)
|
|||
Eina_Bool changed = EINA_FALSE;
|
||||
|
||||
enabled = ((e_config->dpms_enable) && (!e_config->mode.presentation) &&
|
||||
(!e_util_fullscreen_curreny_any()));
|
||||
(!e_util_fullscreen_current_any()));
|
||||
|
||||
if (_e_dpms_enabled != enabled)
|
||||
{
|
||||
|
@ -72,7 +72,7 @@ e_dpms_force_update(void)
|
|||
int enabled;
|
||||
|
||||
enabled = ((e_config->dpms_enable) && (!e_config->mode.presentation) &&
|
||||
(!e_util_fullscreen_curreny_any()));
|
||||
(!e_util_fullscreen_current_any()));
|
||||
ecore_x_dpms_enabled_set(enabled);
|
||||
if (!enabled) return;
|
||||
if (e_config->dpms_standby_enable)
|
||||
|
|
|
@ -29,7 +29,7 @@ e_screensaver_update(void)
|
|||
Eina_Bool changed = EINA_FALSE;
|
||||
|
||||
if ((e_config->screensaver_enable) && (!e_config->mode.presentation) &&
|
||||
(!e_util_fullscreen_curreny_any()))
|
||||
(!e_util_fullscreen_current_any()))
|
||||
timeout = e_config->screensaver_timeout * count;
|
||||
|
||||
interval = e_config->screensaver_interval;
|
||||
|
@ -66,7 +66,7 @@ e_screensaver_force_update(void)
|
|||
int timeout = 0, count = (1 + _e_screensaver_ask_presentation_count);
|
||||
|
||||
if ((e_config->screensaver_enable) && (!e_config->mode.presentation) &&
|
||||
(!e_util_fullscreen_curreny_any()))
|
||||
(!e_util_fullscreen_current_any()))
|
||||
timeout = e_config->screensaver_timeout * count;
|
||||
ecore_x_screensaver_set(timeout + 10,
|
||||
e_config->screensaver_interval + 10,
|
||||
|
|
|
@ -1302,7 +1302,7 @@ e_util_module_config_check(const char *module_name, int loaded, int current)
|
|||
* Checks whenever the current manager/container/zone have fullscreen windows.
|
||||
*/
|
||||
EAPI Eina_Bool
|
||||
e_util_fullscreen_curreny_any(void)
|
||||
e_util_fullscreen_current_any(void)
|
||||
{
|
||||
E_Manager *man = e_manager_current_get();
|
||||
E_Container *con = e_container_current_get(man);
|
||||
|
|
|
@ -61,7 +61,7 @@ EAPI Eina_Bool e_util_module_config_check(const char *module_name, int loaded
|
|||
|
||||
EAPI int e_util_container_desk_count_get(E_Container *con);
|
||||
EAPI E_Config_Binding_Key *e_util_binding_match(const Eina_List *bindlist, Ecore_Event_Key *ev, unsigned int *num, const E_Config_Binding_Key *skip);
|
||||
EAPI Eina_Bool e_util_fullscreen_curreny_any(void);
|
||||
EAPI Eina_Bool e_util_fullscreen_current_any(void);
|
||||
EAPI Eina_Bool e_util_fullscreen_any(void);
|
||||
EAPI const char *e_util_time_str_get(long int seconds);
|
||||
EAPI void e_util_size_debug_set(Evas_Object *obj, Eina_Bool enable);
|
||||
|
|
Loading…
Reference in New Issue