e_hwc_windows: do not deal with quickpanel policy 60/194660/2
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 6 Dec 2018 23:11:13 +0000 (08:11 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Sun, 16 Dec 2018 07:53:59 +0000 (07:53 +0000)
The quickpanel policy has to be deal at tdm backend.

Change-Id: I465db0bfeba04e84c1a0d455d49a8a2971576086

src/bin/e_hwc_windows.c

index f6804b8013207fda621307b6303c1c0a10853435..691c90020cc7ca49ece23cb63f0141db196b234b 100644 (file)
@@ -1488,11 +1488,6 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc)
 static Eina_Bool
 _e_hwc_windows_all_client_states_available_check(E_Hwc *hwc)
 {
-   Eina_List *l;
-   E_Client *ec;
-   E_Hwc_Window *hwc_window = NULL;
-   Eina_List *visible_windows = hwc->visible_windows;
-
    /* make the full_gl_composite when the zoom is enabled */
    if (hwc->output->zoom_set) return EINA_TRUE;
 
@@ -1506,6 +1501,14 @@ _e_hwc_windows_all_client_states_available_check(E_Hwc *hwc)
         return EINA_TRUE;
      }
 
+//TODO: this restriction is for the quickpanel on the special case.
+//      Therefore, this condition has to move to the hwc policy of the libtdm backend.
+#if 0
+   Eina_List *l;
+   E_Client *ec;
+   E_Hwc_Window *hwc_window = NULL;
+   Eina_List *visible_windows = hwc->visible_windows;
+
    EINA_LIST_FOREACH(visible_windows, l, hwc_window)
      {
         ec = hwc_window->ec;
@@ -1524,6 +1527,7 @@ _e_hwc_windows_all_client_states_available_check(E_Hwc *hwc)
                }
           }
      }
+#endif
 
    return EINA_FALSE;
 }