From 2c13a6d043df466c65705fde3b8d0bdda4979c36 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Tue, 14 Jan 2025 17:42:12 +0900 Subject: [PATCH] e_comp_wl: Remove useless code The code about `ignored` became useless since following commit from upstream. commit 039c08617e6a5049372d2b6e3aa5481c973710fd Author: Mike Blumenkrantz 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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bin/server/e_comp_wl.c b/src/bin/server/e_comp_wl.c index 4bcb69152f..e3813e391e 100644 --- a/src/bin/server/e_comp_wl.c +++ b/src/bin/server/e_comp_wl.c @@ -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 */ -- 2.34.1