ecore_wl2: do not destroy tizen_rotation in ecore_wl2_window_hide 02/269602/1 accepted/tizen/unified/20220125.121829 submit/tizen/20220120.091110
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 19 Jan 2022 04:12:53 +0000 (13:12 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 19 Jan 2022 04:31:50 +0000 (13:31 +0900)
There was a bug that the display server (enlightenment) didn't get rotation done event if
a window called ecore_wl2_window_rotation_change_done_send after calling ecore_wl2_window_hide.

This patch resolve this problem.

@tizen_only

Change-Id: I20cd592e4744f033978d65977d72a1bb9968441b
Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
src/lib/ecore_wl2/ecore_wl2_window.c

index 6c376b5..8646caa 100644 (file)
@@ -1301,9 +1301,6 @@ ecore_wl2_window_hide(Ecore_Wl2_Window *window)
    if (window->tz_position) tizen_position_destroy(window->tz_position);
    window->tz_position = NULL;
 
-   if (window->tz_rotation) tizen_rotation_destroy(window->tz_rotation);
-   window->tz_rotation = NULL;
-
    if (window->tz_resource) tizen_resource_destroy(window->tz_resource);
    window->tz_resource = NULL;
    //