static Eina_Bool _e_calc_visibility = EINA_FALSE;
static Eina_Bool _e_visibility_changed = EINA_FALSE;
-static GMutex focused_ec_lock;
+static GMutex focused_ec_mutex;
EINTERN void e_client_focused_set(E_Client *ec);
static void _e_client_transient_for_group_make(E_Client *ec, Eina_List **list);
E_COMP_WL_HOOK_APPEND(hooks, E_COMP_WL_HOOK_SHELL_SURFACE_READY, _e_client_cb_hook_shell_surface_ready, NULL);
- g_mutex_init(&focused_ec_lock);
+ g_mutex_init(&focused_ec_mutex);
E_EVENT_CLIENT_ADD = ecore_event_type_new();
E_EVENT_CLIENT_REMOVE = ecore_event_type_new();
E_FREE_FUNC(warp_timer, ecore_timer_del);
warp_client = NULL;
- g_mutex_clear(&focused_ec_lock);
+ g_mutex_clear(&focused_ec_mutex);
}
E_API void
ELOGF("FOCUS", "CLIENT FOCUS_SET", ec);
- g_mutex_lock(&focused_ec_lock);
+ g_mutex_lock(&focused_ec_mutex);
focused = ec;
- g_mutex_unlock(&focused_ec_lock);
+ g_mutex_unlock(&focused_ec_mutex);
if ((ec) && (ec->zone))
{
e_client_focused_get(void)
{
E_Client *focused_ec = NULL;
- g_mutex_lock(&focused_ec_lock);
+ g_mutex_lock(&focused_ec_mutex);
focused_ec = focused;
- g_mutex_unlock(&focused_ec_lock);
+ g_mutex_unlock(&focused_ec_mutex);
return focused_ec;
}