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
39717a8a38
commit
56e96ce294
|
@ -2583,13 +2583,14 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
|
||||||
ec->netwm.action.close = 0;
|
ec->netwm.action.close = 0;
|
||||||
ec->netwm.opacity = 255;
|
ec->netwm.opacity = 255;
|
||||||
|
|
||||||
EC_CHANGED(ec);
|
|
||||||
|
|
||||||
e_comp->clients = eina_list_append(e_comp->clients, ec);
|
e_comp->clients = eina_list_append(e_comp->clients, ec);
|
||||||
eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
|
eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
|
||||||
|
|
||||||
if (!ec->ignored)
|
if (!ec->ignored)
|
||||||
|
{
|
||||||
|
EC_CHANGED(ec);
|
||||||
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
|
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
|
||||||
|
}
|
||||||
e_comp_object_client_add(ec);
|
e_comp_object_client_add(ec);
|
||||||
if (ec->frame)
|
if (ec->frame)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue