e_comp_wl: Impl getter/setter for E_Comp_Wl_Data 51/319851/2
authorTaeHyeon Jeong <thyeon.jeong@samsung.com>
Mon, 17 Feb 2025 04:08:55 +0000 (13:08 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 19 Feb 2025 08:24:57 +0000 (08:24 +0000)
- Add e_comp_wl_Data_get/set functions to get/set E_Comp_Wl_Data members.

Change-Id: Ic0c44289f2d937b37025213fde9d8fc538c21adf

src/bin/server/e_comp_wl.c
src/include/e_comp_wl.h

index 3b308285d2fad5e6c421256b9dc9b825e0d9e9fe..ad9759b725a48c199bbc4c8a86f4390da84a9401 100644 (file)
@@ -6054,3 +6054,22 @@ e_comp_wl_ptr_ec_get(void)
    return comp_wl->ptr.ec;
 }
 
+E_API Ecore_Timer *
+e_comp_wl_ptr_hide_tmr_get(void)
+{
+   E_Comp_Wl_Data *comp_wl;
+
+   if (!(comp_wl = e_comp_wl_get())) return NULL;
+
+   return comp_wl->ptr.hide_tmr;
+}
+
+E_API void
+e_comp_wl_ptr_hide_tmr_set(Ecore_Timer *tmr)
+{
+   E_Comp_Wl_Data *comp_wl;
+
+   if (!(comp_wl = e_comp_wl_get())) return;
+
+   comp_wl->ptr.hide_tmr = tmr;
+}
index 860394fd0aeeae60e132c67e4a97d854ce93f01e..a2a3363104adddd85e4f96a219849269944432d3 100644 (file)
@@ -640,6 +640,8 @@ E_API void                      e_comp_wl_intercept_hook_del(E_Comp_Wl_Intercept
 
 E_API struct wl_display *e_comp_wl_display_get(void);
 E_API E_Client          *e_comp_wl_ptr_ec_get(void);
+E_API Ecore_Timer       *e_comp_wl_ptr_hide_tmr_get(void);
+E_API void               e_comp_wl_ptr_hide_tmr_set(Ecore_Timer *tmr);
 
 
 //////////////////////////////////////////////////////////////////////////