diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index e9d000b8f..c7ab91e9d 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1324,7 +1324,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state) #endif ec->comp_data->in_commit = 1; - if (state->new_attach && ec->ignored && (ec->comp_data->shell.surface || ec->internal)) + if (state->new_attach && ec->ignored && (ec->comp_data->shell.surface || ec->internal_elm_win)) { EC_CHANGED(ec); ec->new_client = 1; @@ -1419,7 +1419,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state) { if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.unmap)) ec->comp_data->shell.unmap(ec->comp_data->shell.surface); - else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || ec->internal || + else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || ec->internal_elm_win || (ec->comp_data->sub.data && ec->comp_data->sub.data->parent->comp_data->mapped) || (ec == e_comp_wl->drag_client)) { @@ -1435,7 +1435,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state) { if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.map)) ec->comp_data->shell.map(ec->comp_data->shell.surface); - else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || ec->internal || + else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || ec->internal_elm_win || (ec->comp_data->sub.data && ec->comp_data->sub.data->parent->comp_data->mapped) || (ec == e_comp_wl->drag_client)) {