forked from enlightenment/enlightenment
make client placement eval not dependent on new_client flag
this should just run if placed is not set for a valid window
This commit is contained in:
parent
040b5f6a44
commit
63b7111a1f
|
@ -1726,6 +1726,8 @@ _e_client_eval(E_Client *ec)
|
|||
int rem_change = 0;
|
||||
int send_event = 1;
|
||||
unsigned int prop = 0;
|
||||
int zx = 0, zy = 0, zw = 0, zh = 0;
|
||||
|
||||
|
||||
if (e_object_is_del(E_OBJECT(ec)))
|
||||
{
|
||||
|
@ -1738,8 +1740,6 @@ _e_client_eval(E_Client *ec)
|
|||
|
||||
if ((ec->new_client) && (!e_client_util_ignored_get(ec)) && (ec->zone))
|
||||
{
|
||||
int zx = 0, zy = 0, zw = 0, zh = 0;
|
||||
|
||||
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
|
||||
e_zone_useful_geometry_get(ec->zone, &zx, &zy, &zw, &zh);
|
||||
/* enforce wm size hints for initial sizing */
|
||||
|
@ -1769,7 +1769,8 @@ _e_client_eval(E_Client *ec)
|
|||
evas_object_resize(ec->frame, ec2->w, ec2->h);
|
||||
ec->stack.ignore--;
|
||||
}
|
||||
if (!ec->placed)
|
||||
}
|
||||
if ((!e_client_util_ignored_get(ec)) && ec->zone && (!ec->placed))
|
||||
{
|
||||
if (ec->parent)
|
||||
{
|
||||
|
@ -1858,7 +1859,6 @@ _e_client_eval(E_Client *ec)
|
|||
ec->placed = 1;
|
||||
ec->pre_cb.x = ec->x; ec->pre_cb.y = ec->y;
|
||||
}
|
||||
}
|
||||
|
||||
if (!ec->placed)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue