forked from enlightenment/enlightenment
do not set initial changed state for new clients if they are ignored
this loops the client idler for no reason
This commit is contained in:
parent
19db5f256c
commit
0d45b63a84
|
@ -2608,13 +2608,14 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
|
|||
ec->netwm.action.close = 0;
|
||||
ec->netwm.opacity = 255;
|
||||
|
||||
EC_CHANGED(ec);
|
||||
|
||||
e_comp->clients = eina_list_append(e_comp->clients, ec);
|
||||
eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
|
||||
|
||||
if (!ec->ignored)
|
||||
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
|
||||
{
|
||||
EC_CHANGED(ec);
|
||||
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
|
||||
}
|
||||
e_comp_object_client_add(ec);
|
||||
if (ec->frame)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue