e_comp: make e_comp_idler_before 63/296163/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 15 Jun 2023 07:11:15 +0000 (16:11 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 21 Jul 2023 01:20:44 +0000 (10:20 +0900)
and call it at _e_main_cb_idler_before instead of e_client_idler_before

Change-Id: I8ca8b9713f301745357fc0a9592cc579cefb798c

src/bin/e_comp.c
src/bin/e_comp.h
src/bin/e_main.c

index 06399bb..e9ff124 100644 (file)
@@ -1441,3 +1441,10 @@ e_comp_client_zone_is_displaying(E_Client *ec)
 
    return e_zone_is_displaying(zone);
 }
+
+EINTERN void
+e_comp_idler_before(void)
+{
+   // TODO: call e_zone_idle_before() for each zone
+   e_client_idler_before();
+}
index fc87169..aa41e53 100644 (file)
@@ -267,6 +267,7 @@ E_API E_Comp_Image_Filter e_comp_image_filter_get(void);
 
 EINTERN E_Zone *e_comp_zone_find_by_ec(E_Client *ec);
 EINTERN Eina_Bool e_comp_client_zone_is_displaying(E_Client *ec);
+EINTERN void e_comp_idler_before(void);
 
 #endif
 #endif
index 2e4a0d7..7c5ef94 100644 (file)
@@ -1161,7 +1161,7 @@ _e_main_desk_restore(void)
 static Eina_Bool
 _e_main_cb_idle_before(void *data EINA_UNUSED)
 {
-   e_client_idler_before();
+   e_comp_idler_before();
    _e_main_hook_call(E_MAIN_HOOK_POST_CLIENT_IDLER_BEFORE, NULL);
    edje_thaw();