client: Deprecate border_size 41/323941/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 9 May 2025 05:56:32 +0000 (14:56 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 9 May 2025 09:37:26 +0000 (18:37 +0900)
It's unused.

Change-Id: I4f7d28ddff325161a341e345e5e7bdb031395879

src/bin/core/e_client.c
src/bin/debug/e_info_server.c
src/bin/server/e_comp_wl_subsurface.c
src/bin/server/e_foreign_shell.c
src/bin/server/e_surface_view.c
src/bin/server/e_video_shell.c
src/include/e_client.h

index 65ffa952e34d7f2fd1dfa78a08cd8fe5b1427402..1422b7564abbd9b9fa4bc8ffcb7b562afbee5fb5 100644 (file)
@@ -6857,7 +6857,7 @@ e_client_background_state_get(E_Client *ec)
 E_API void
 e_client_border_size_set(E_Client *ec, int size)
 {
-   if (ec) ec->border_size = size;
+   // Deprecated
 }
 
 E_API void
index 26c23e27b52bf95ded5250becb1a857780cf572b..fec34a41afc73827cd69dd73ca71ceda8ac2d974 100644 (file)
@@ -5867,8 +5867,8 @@ _e_info_server_cb_wininfo(const Eldbus_Service_Interface *iface EINA_UNUSED, con
 
    ecore_evas_screen_geometry_get(e_comp_ee_get(), NULL, NULL, &dw, &dh);
 
-   xright = dw - ec->x - ec->border_size * 2 - ec->w;
-   ybelow = dh - ec->y - ec->border_size * 2 - ec->h;
+   xright = dw - ec->x - ec->w;
+   ybelow = dh - ec->y - ec->h;
 
    reply = eldbus_message_method_return_new(msg);
 
@@ -5877,7 +5877,7 @@ _e_info_server_cb_wininfo(const Eldbus_Service_Interface *iface EINA_UNUSED, con
                                    ec->argb, ec->visibility.opaque, e_client_visibility_get(ec),
                                    ec->iconic, evas_object_visible_get(ec->frame),
                                    ec->focused, hwc, pl_zpos, (uint64_t)pwin,
-                                   layer_name, xright, ybelow, ec->border_size,
+                                   layer_name, xright, ybelow, 0,
                                    ec->redirected);
 
    return reply;
index 9581d1888847edcb4e5a45e13b5380ccc48e1857..de2e0b9e3604114c80d5a7a545b16322a491d5ae 100644 (file)
@@ -39,7 +39,6 @@ _e_comp_wl_client_subsurface_set(E_Client *ec, E_Comp_Wl_Subsurf_Data *sdata)
    ec->lock_focus_in = ec->lock_focus_out = EINA_TRUE;
    ec->netwm.state.skip_taskbar = EINA_TRUE;
    ec->netwm.state.skip_pager = EINA_TRUE;
-   ec->border_size = 0;
    ec->lock_user_location = 0;
    ec->lock_client_location = 0;
    ec->lock_user_size = 0;
index 706e97067c582f442181ae14542f2268a34fa2a3..fd95a5acf142ecdef453404a427a0b5f7d1b1695 100644 (file)
@@ -837,7 +837,6 @@ _e_foreign_shell_ec_link(E_Foreign_Shell *fs, E_Client *ec)
    ec->lock_focus_in = ec->lock_focus_out = EINA_TRUE;
    ec->netwm.state.skip_taskbar = EINA_TRUE;
    ec->netwm.state.skip_pager = EINA_TRUE;
-   ec->border_size = 0;
    ec->lock_user_location = 0;
    ec->lock_client_location = 0;
    ec->lock_user_size = 0;
index 8664ee64798e89ddcedd074b6d09f97fcffc7547..b6cd0580152a9155581adb691a72c19bbe3ad916 100644 (file)
@@ -277,7 +277,6 @@ _surface_view_ec_set(E_Surface_View *view, E_Client *ec)
 
    ec->argb = EINA_FALSE;
    ec->redirected = ec->ignored = 1;
-   ec->border_size = 0;
 
    /* NB: could not find a better place to do this, BUT for internal windows,
     * we need to set delete_request else the close buttons on the frames do
index bde5711dacec5aa84d5326e6cdd9db16bba60996..586850b534f769dc0842dc5c46cbaeb6b9954cc4 100644 (file)
@@ -1248,7 +1248,6 @@ _source_surface_link(E_Video_Viewport_Source *source, E_Video_Surface *surface)
    ec->lock_focus_in = ec->lock_focus_out = EINA_TRUE;
    ec->netwm.state.skip_taskbar = EINA_TRUE;
    ec->netwm.state.skip_pager = EINA_TRUE;
-   ec->border_size = 0;
    ec->lock_user_location = 0;
    ec->lock_client_location = 0;
    ec->lock_user_size = 0;
index 50520be86d1fab7c2f0fede44149a1cffdf19ad1..3a20801da9a4a0101a8541d6af2be1c962b681f2 100644 (file)
@@ -389,7 +389,7 @@ struct _E_Client
 
    E_Action                  *cur_mouse_action;
 
-   int               border_size; //size of client's border
+   E_DEPRECATED int               border_size; //size of client's border
 
    struct
    {
@@ -1092,7 +1092,7 @@ E_API Eina_Bool e_client_argb_get(E_Client *ec);
 
 E_API Eina_Bool e_client_background_state_get(E_Client *ec);
 
-E_API void      e_client_border_size_set(E_Client *ec, int size);
+E_DEPRECATED E_API void      e_client_border_size_set(E_Client *ec, int size);
 E_API void      e_client_borderless_set(E_Client *ec, Eina_Bool borderless);
 
 E_API E_Util_Transform *e_client_base_output_resolution_transform_get(E_Client *ec);