e_comp_wl: Remove useless code 48/318448/1
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 14 Jan 2025 08:42:12 +0000 (17:42 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 17 Jan 2025 04:23:37 +0000 (13:23 +0900)
The code about `ignored` became useless since following commit from
upstream.

commit 039c08617e6a5049372d2b6e3aa5481c973710fd
Author: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Date:   Wed Jan 20 16:20:41 2016 -0500

    remove duplicate visibility setting blocks from wayland surface commit

    this is already present (and identical) in state commit

Change-Id: I110ee4732890e4e971374cd1f0aa3237628a60a9

src/bin/server/e_comp_wl.c

index 4bcb69152f41135f718011bb0e2c1d036d8e717a..e3813e391e201f416baad59fda8b540400e56090 100644 (file)
@@ -3757,7 +3757,6 @@ e_comp_wl_surface_attach(E_Client *ec, E_Comp_Wl_Buffer *buffer)
 EINTERN Eina_Bool
 e_comp_wl_surface_commit(E_Client *ec)
 {
-   Eina_Bool ignored;
    int x = 0, y = 0;
 
    _e_comp_wl_surface_state_commit(ec, &ec->comp_data->pending);
@@ -3768,8 +3767,6 @@ e_comp_wl_surface_commit(E_Client *ec)
           e_pixmap_image_clear(ec->pixmap, 1);
      }
 
-   ignored = ec->ignored;
-
    if (e_comp_wl_subsurface_order_commit(ec))
      {
         E_Client *topmost = e_comp_wl_topmost_parent_get(ec);
@@ -3777,8 +3774,6 @@ e_comp_wl_surface_commit(E_Client *ec)
         e_comp_wl_subsurface_restack_bg_rectangle(topmost);
      }
 
-   ec->ignored = ignored;
-
    if (ec->is_cursor && ec->visible)
      {
         /* ignore cursor changes during resize/move I guess */