e_view: Erase unnecessary condition 18/318918/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 10 Oct 2024 09:30:51 +0000 (18:30 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 11 Oct 2024 00:50:28 +0000 (09:50 +0900)
The view system was already apapted the request.
But evas cannot be adapted previous command cause of intercept call.
So erase duplicate execution prevention condition to execute evas_object API again.

Change-Id: Idb56acc3f894136ca31db04c681cb84885b783b3

src/bin/core/e_view.c

index bb4bf04eb2f71b738c350266355565fa8216e8e0..76db73fa8a65ecf9c62bbb74d0912cab6302fe13 100644 (file)
@@ -320,8 +320,6 @@ e_view_raise_to_top(E_View *view)
      return;
 
    top = wl_container_of(view->parent->children.prev, top, link);
-   if (view == top)
-     return;
 
    wl_list_remove(&view->link);
    wl_list_insert(&top->link, &view->link);
@@ -341,8 +339,6 @@ e_view_lower_to_bottom(E_View *view)
      return;
 
    bottom = wl_container_of(view->parent->children.next, bottom, link);
-   if (view == bottom)
-     return;
 
    wl_list_remove(&view->link);
    wl_list_insert(bottom->link.prev, &view->link);