typedef struct _Config_Rot Config_Rot;
typedef struct _Config Config;
typedef struct _Mod Mod;
-typedef struct _Pol_Lockscreen_Info Pol_Lockscreen_Info;
+typedef struct _Pol_System_Info Pol_System_Info;
struct _Pol_Desk
{
Evas_Object *o_desks;
};
-struct _Pol_Lockscreen_Info
+struct _Pol_System_Info
{
- E_Client *ec;
- Eina_Bool show;
+ struct
+ {
+ E_Client *ec;
+ Eina_Bool show;
+ } lockscreen;
};
extern Mod *_pol_mod;
extern Eina_Hash *hash_pol_desks;
extern Eina_Hash *hash_pol_clients;
-extern Pol_Lockscreen_Info g_lockscreen_info;
+extern Pol_System_Info g_system_info;
EINTERN void e_mod_pol_conf_init(Mod *mod);
if (!new_lock)
new_lock = ec_lock;
- g_lockscreen_info.show = show;
- g_lockscreen_info.ec = new_lock;
+ g_system_info.lockscreen.show = show;
+ g_system_info.lockscreen.ec = new_lock;
restack_above = EINA_TRUE;
}
else
{
- if (ec_lock != g_lockscreen_info.ec)
+ if (ec_lock != g_system_info.lockscreen.ec)
return;
- new_lock = _e_mod_pol_stack_find_top_lockscreen(ec_lock, g_lockscreen_info.ec);
+ new_lock = _e_mod_pol_stack_find_top_lockscreen(ec_lock, g_system_info.lockscreen.ec);
if (new_lock)
{
- g_lockscreen_info.show = EINA_TRUE;
- g_lockscreen_info.ec = new_lock;
+ g_system_info.lockscreen.show = EINA_TRUE;
+ g_system_info.lockscreen.ec = new_lock;
restack_above = EINA_TRUE;
}
else
Eina_List *restore_list = NULL;
Eina_List *l = NULL;
- g_lockscreen_info.show = show;
- g_lockscreen_info.ec = NULL;
+ g_system_info.lockscreen.show = show;
+ g_system_info.lockscreen.ec = NULL;
E_CLIENT_FOREACH(ec)
{
{
Eina_List *restack_list = NULL;
Eina_List *l = NULL;
- E_Layer lock_layer = g_lockscreen_info.ec->layer;
+ E_Layer lock_layer = g_system_info.lockscreen.ec->layer;
Eina_Bool passed_new_lock = EINA_FALSE;
int x, y, w, h;
if (!ec->changable_layer[E_CHANGABLE_LAYER_TYPE_ABOVE_NOTIFICATION].set)
return EINA_FALSE;
- if (g_lockscreen_info.show &&
- g_lockscreen_info.ec)
+ if (g_system_info.lockscreen.show &&
+ g_system_info.lockscreen.ec)
{
- lock_layer = g_lockscreen_info.ec->layer;
+ lock_layer = g_system_info.lockscreen.ec->layer;
if (layer <= lock_layer)
{
if (ec->changable_layer[E_CHANGABLE_LAYER_TYPE_ABOVE_NOTIFICATION].saved == EINA_FALSE)