only set take_focus for X clients after main loop has been reached

This commit is contained in:
Mike Blumenkrantz 2014-01-23 13:24:46 -05:00
parent a38d8828e9
commit c73aed330b
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ _e_comp_x_client_new_helper(E_Client *ec)
{
ec->comp_data->need_reparent = 1;
EC_CHANGED(ec);
ec->take_focus = 1;
ec->take_focus = !starting;
}
ec->w = ec->client.w = ec->comp_data->initial_attributes.w;
ec->h = ec->client.h = ec->comp_data->initial_attributes.h;