Revert "e_hwc_windows: set the state to be null when there is no buffer"
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 21 Feb 2019 07:53:10 +0000 (16:53 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 12 Apr 2019 10:00:22 +0000 (19:00 +0900)
This reverts commit 0796d51bd81a4a65869b7406c0a479fdadd7c96d.

src/bin/e_hwc_windows.c

index 1dc717f51cfd2f65d296b53e3b555735ba7521e9..2d8e269323b562b92482a273d61e923a74b6aa2f 100644 (file)
@@ -1605,13 +1605,6 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc)
              continue;
           }
 
-        E_Comp_Wl_Buffer *buffer = _e_hwc_windows_comp_wl_buffer_get(hwc_window);
-        if (!buffer || !buffer->tbm_surface)
-          {
-             e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_NONE, EINA_TRUE);
-             continue;
-          }
-
         if (e_hwc_window_is_video(hwc_window))
           {
             if (!e_client_video_tbm_surface_get(ec))