e_hwc_window: initialize accepted state of target window to DEVICE. 66/191566/5
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 18 Oct 2018 12:19:51 +0000 (21:19 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 30 Oct 2018 05:50:17 +0000 (05:50 +0000)
Change-Id: I1cfba51a32738a9eff3595d203b8abc4fc7dfae9

src/bin/e_hwc_window.c

index 7fb5879..ca2bfd3 100644 (file)
@@ -401,6 +401,7 @@ _e_hwc_window_target_new(E_Hwc *hwc)
 
    ((E_Hwc_Window *)target_hwc_window)->is_target = EINA_TRUE;
    ((E_Hwc_Window *)target_hwc_window)->state = E_HWC_WINDOW_STATE_DEVICE;
+   ((E_Hwc_Window *)target_hwc_window)->accepted_state = E_HWC_WINDOW_STATE_DEVICE;
    ((E_Hwc_Window *)target_hwc_window)->hwc = hwc;
 
    target_hwc_window->ee = e_comp->ee;