There're bug that drag window didn't rotate when window is portrait.
It's due to the drag client didn't have their e_map.
For fix this issue, If the drag window didn't have their map, then create new one.
Change-Id: I5b0400de47ee7ace8d90059b841fb49471f3faf7
(cherry picked from commit
86e8929fc280af6ce0dcac34b19b7b4b40f0f677)
if (!need_map_enable) return;
map = e_client_map_get(e_comp_wl->drag_client);
- if (!map) return;
- new_map = e_map_dup(map);
+ if (map)
+ new_map = e_map_dup(map);
+ else
+ new_map = e_map_new();
if (!new_map) goto fin;
e_client_geometry_get(e_comp_wl->drag_client, NULL, NULL, &drag_client_w, &drag_client_h);