remove some futile attempts at variable setting in wl client new hook
authorMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 13 Feb 2015 20:17:48 +0000 (15:17 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 13 Feb 2015 20:17:48 +0000 (15:17 -0500)
none of these attrs are available at this point so the client attrs can't be set

src/bin/e_comp_wl.c

index d874ce437d8f20f733c71f6fd6ae8893bc94f0c7..018fc863b9a594114a6ee2a187e35a2830b2ed8d 100644 (file)
@@ -1959,9 +1959,6 @@ _e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client *ec)
    ec->no_shape_cut = EINA_TRUE;
    ec->ignored = e_comp_ignore_win_find(win);
    ec->border_size = 0;
-   ec->placed |= ec->override;
-   ec->new_client ^= ec->override;
-   ec->icccm.accepts_focus = ((!ec->override) && (!ec->input_only));
 
    /* NB: could not find a better place to do this, BUT for internal windows, 
     * we need to set delete_request else the close buttons on the frames do 
@@ -1971,12 +1968,9 @@ _e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client *ec)
 
    /* set initial client data properties */
    ec->comp_data->mapped = EINA_FALSE;
-   ec->comp_data->first_damage = ((ec->internal) || (ec->override));
+   ec->comp_data->first_damage = ec->internal;
 
-   if ((!e_client_util_ignored_get(ec)) && (!ec->internal))
-     {
-        ec->comp_data->need_reparent = EINA_TRUE;
-     }
+   ec->comp_data->need_reparent = !ec->internal;
 
    /* add this client to the hash */
    /* eina_hash_add(clients_win_hash, &win, ec); */