forked from enlightenment/enlightenment
parent
0a6d34807e
commit
5d2f230a26
|
@ -28,7 +28,6 @@ static Eina_List *handlers = NULL;
|
|||
|
||||
/* static Eina_List *e_remember_restart_list = NULL; */
|
||||
|
||||
|
||||
/* externally accessible functions */
|
||||
EINTERN int
|
||||
e_remember_init(E_Startup_Mode mode)
|
||||
|
@ -265,7 +264,7 @@ e_remember_match_update(E_Remember *rem)
|
|||
if (rem->match & E_REMEMBER_MATCH_TITLE) max_count += 2;
|
||||
if (rem->match & E_REMEMBER_MATCH_ROLE) max_count += 2;
|
||||
if (rem->match & E_REMEMBER_MATCH_TYPE) max_count += 2;
|
||||
if (rem->match & E_REMEMBER_MATCH_TRANSIENT) max_count +=2;
|
||||
if (rem->match & E_REMEMBER_MATCH_TRANSIENT) max_count += 2;
|
||||
if (rem->apply_first_only) max_count++;
|
||||
|
||||
if (max_count != rem->max_score)
|
||||
|
@ -531,7 +530,7 @@ _e_remember_find(E_Border *bd, int check_usable)
|
|||
!e_util_both_str_empty(rem->role, bd->client.icccm.window_role))
|
||||
continue;
|
||||
if (rem->match & E_REMEMBER_MATCH_TYPE &&
|
||||
rem->type != (int) bd->client.netwm.type)
|
||||
rem->type != (int)bd->client.netwm.type)
|
||||
continue;
|
||||
if (rem->match & E_REMEMBER_MATCH_TRANSIENT &&
|
||||
!(rem->transient && bd->client.icccm.transient_for != 0) &&
|
||||
|
@ -869,7 +868,6 @@ _e_remember_cb_hook_pre_post_fetch(void *data __UNUSED__, void *border)
|
|||
_e_remember_free(rem);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
_e_remember_init_edd(void)
|
||||
{
|
||||
|
@ -947,3 +945,4 @@ _e_remember_init_edd(void)
|
|||
#undef T
|
||||
#undef D
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue