hwc: set E_HWC_WINDOW_STATE_NONE for non-visible windows. 00/170100/3
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Feb 2018 11:08:36 +0000 (20:08 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 14 Feb 2018 01:33:56 +0000 (01:33 +0000)
Change-Id: I6359436ec3201012b7f20669dd722d0dfe3e8504

src/bin/e_output_hwc_windows.c

index 9cf37980a05f9790182e171b57b364d2b16646b0..fc2f4b4c91f9204ad711b7b74de275f2705d6b72 100644 (file)
@@ -1090,12 +1090,24 @@ _e_output_hwc_windows_visible_windows_list_get(E_Output_Hwc *output_hwc)
         ec = evas_object_data_get(o, "E_Client");
         if (!ec) continue;
         if (!ec->hwc_window) continue;
-        if (e_object_is_del(E_OBJECT(ec))) continue;
 
         hwc_window = ec->hwc_window;
 
+        if (e_object_is_del(E_OBJECT(ec)))
+          {
+             e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_NONE);
+             continue;
+          }
+
+        // check clients to skip composite
+        if (e_client_util_ignored_get(ec))
+          {
+             e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_NONE);
+             continue;
+          }
+
         // check clients to skip composite
-        if (e_client_util_ignored_get(ec) || (!evas_object_visible_get(ec->frame)))
+        if (!evas_object_visible_get(ec->frame))
           {
              e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_NONE);
              continue;