Apply e_zone's interfaces 64/318564/5
authorjinbong.lee <jinbong.lee@samsung.com>
Wed, 2 Oct 2024 07:32:33 +0000 (16:32 +0900)
committerjinbong.lee <jinbong.lee@samsung.com>
Thu, 7 Nov 2024 04:28:20 +0000 (13:28 +0900)
Change-Id: Id151ab3f32335a4523d7ab69e33e377208cc00cf

src/e_mod_input_panel.c
src/e_mod_main.c

index b3e3b2b3fe12455ffa73fb5356854d0333825898..93e6d11bd634570939432a2115a150490d088f5e 100644 (file)
@@ -1695,7 +1695,7 @@ e_input_panel_floating_position_set(int x, int y)
    if (floating_ips->showing)
      cur_angle = floating_ec->e.state.rot.ang.curr;
    else
-     cur_angle = floating_ec->zone->rot.curr;
+     cur_angle = e_zone_rotation_curr_angle_get(floating_ec->zone);
 
    LOGI("current angle : %d", cur_angle);
    switch (cur_angle)
index 6a2b68659febe53761cf76093bcef22bbbfec06b..127bc7873bda6b5d484ae86b4fcc81dbbadcf90c 100644 (file)
@@ -497,7 +497,7 @@ _input_panel_hide(struct wl_client *client, struct wl_resource *resource, Eina_B
         ecore_thread_main_loop_begin();
         effect_run = e_input_panel_is_effect_running();
         ecore_thread_main_loop_end();
-        if (zone && (zone->display_state == E_ZONE_DISPLAY_STATE_OFF))
+        if (zone && (e_zone_display_state_get(zone) == E_ZONE_DISPLAY_STATE_OFF))
           timeout = 0.0f;
         else if (effect_run)
           timeout = 0.0f;