fix wl shell client borders for internal, borderful clients...again

This commit is contained in:
Mike Blumenkrantz 2015-03-13 15:03:13 -04:00
parent b5ed3c9fea
commit d42586869e
1 changed files with 2 additions and 2 deletions

View File

@ -1194,9 +1194,9 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, struct wl_resource *resour
/* set toplevel client properties */
ec->icccm.accepts_focus = 1;
if (!ec->internal)
ec->borderless = !ec->internal_elm_win;
ec->borderless = 1;
ec->lock_border = EINA_TRUE;
if (!ec->internal)
if ((!ec->internal) || (!ec->borderless))
ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;