Fix inproper setting of window type during transient_set.

This fixes the issue of some wayland applications always showing up
with the e_border visible.

If we get a transient_set from wl_shell or xdg_shell, don't reset the
client's netwm.type. Some wayland applications are sending us
transient_set with parent to NULL....so don't explicitly set the
netwm.type to dialog.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-08-03 09:41:44 -04:00
parent 4066cf2ca9
commit 8fa7e4f59d
1 changed files with 0 additions and 8 deletions

View File

@ -282,9 +282,6 @@ _e_shell_surface_cb_transient_set(struct wl_client *client EINA_UNUSED, struct w
return;
}
ec->netwm.type = E_WINDOW_TYPE_DIALOG;
ec->comp_data->set_win_type = EINA_TRUE;
/* set this client as a transient for parent */
_e_shell_surface_parent_set(ec, parent_resource);
@ -650,13 +647,8 @@ _e_xdg_shell_surface_cb_transient_for_set(struct wl_client *client EINA_UNUSED,
return;
}
ec->netwm.type = E_WINDOW_TYPE_DIALOG;
ec->comp_data->set_win_type = EINA_TRUE;
/* set this client as a transient for parent */
_e_shell_surface_parent_set(ec, parent_resource);
EC_CHANGED(ec);
}
static void