e_comp_wl: Remove redundant check 61/318261/1
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 14 Jan 2025 00:17:58 +0000 (09:17 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 15 Jan 2025 00:34:48 +0000 (09:34 +0900)
The e_client_view_get() must return valid value here.

Change-Id: If3cadaf33c1859834ae20a55ee2c500ff50eddf0

src/bin/server/e_comp_wl.c

index edd14a536d66159ff3b172dd0b54d6079c836044..c484a7a8de5f67295d5a059a8b2d66396eabddd8 100644 (file)
@@ -3085,9 +3085,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
    state->sy = 0;
    state->new_attach = EINA_FALSE;
 
-   if (e_client_view_get(ec))
-     _e_comp_wl_surface_damage_update(ec);
-
+   _e_comp_wl_surface_damage_update(ec);
    _e_comp_wl_client_pixmap_opaque_region_update(ec, state->bw, state->bh);
    _e_comp_wl_client_input_region_update(ec);