e_comp_wl: Remove useless return value 07/321107/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 14 Mar 2025 01:02:12 +0000 (10:02 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 14 Mar 2025 04:24:49 +0000 (13:24 +0900)
The return value of e_comp_wl_surface_commit is useless.

Change-Id: Iaa8cae7fba72153458b08afd53fece2050764ae5

src/bin/server/e_comp_wl.c
src/bin/server/e_comp_wl_intern.h

index e91348dcbf0c949dc36822983c0502a2f053f481..79c03110fdf778159f6ac3b9e92d1f1ad774e7eb 100644 (file)
@@ -3622,7 +3622,7 @@ e_comp_wl_surface_attach(E_Client *ec, E_Comp_Wl_Buffer *buffer)
                    (Ecore_End_Cb)e_comp_wl_surface_event_simple_free, NULL);
 }
 
-EINTERN Eina_Bool
+EINTERN void
 e_comp_wl_surface_commit(E_Client *ec)
 {
    int x = 0, y = 0;
@@ -3656,7 +3656,6 @@ e_comp_wl_surface_commit(E_Client *ec)
              e_pointer_view_set(comp_pointer, e_client_view_get(ec), x, y);
           }
      }
-   return EINA_TRUE;
 }
 
 static E_Comp_Wl_Output *
index e72a1dab4e8aec3f46c9c3890202234fe22eff57..6a05a0246b18c706113c1545b375e90a069145dc 100644 (file)
@@ -15,7 +15,7 @@ EINTERN void            e_comp_wl_shutdown(void);
 EINTERN E_Comp_Wl_Data *e_comp_wl_get(void);
 
 EINTERN void      e_comp_wl_surface_attach(E_Client *ec, E_Comp_Wl_Buffer *buffer);
-EINTERN Eina_Bool e_comp_wl_surface_commit(E_Client *ec);
+EINTERN void      e_comp_wl_surface_commit(E_Client *ec);
 
 EINTERN Eina_Bool                 e_comp_wl_output_init(const char *id, const char *make, const char *model, int x, int y, int w, int h, int pw, int ph, unsigned int refresh, unsigned int subpixel, unsigned int transform);
 EINTERN void                      e_comp_wl_output_remove(const char *id);