e_client: deprecate ignore_first_unmap value in E_Client 85/304285/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 15 Jan 2024 07:54:07 +0000 (16:54 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 15 Jan 2024 10:18:36 +0000 (19:18 +0900)
Change-Id: I038d612093be846cb1ad6feda93932027fe7c2f0

src/bin/e_client.c
src/bin/e_client.h
src/bin/e_info_server.c

index 3199e61..b11ffa6 100644 (file)
@@ -3182,8 +3182,6 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
      {
         ec->changes.pos = 1;
         ec->re_manage = 1;
-        // needed to be 1 for internal windw and on restart.
-        // ec->ignore_first_unmap = 2;
      }
    ec->offer_resistance = 1;
    ec->new_client = 1;
index 8100a20..8d4e498 100644 (file)
@@ -423,7 +423,7 @@ struct E_Client
       } down;
    } moveinfo;
 
-   unsigned char      ignore_first_unmap;
+   unsigned char      ignore_first_unmap; // @deprecated
    E_Pointer_Mode     resize_mode;
 
    struct
index d021d0c..e5c190e 100644 (file)
@@ -1429,21 +1429,6 @@ _get_win_prop_Video_Client(const Evas_Object *evas_obj)
 }
 
 static const char*
-_get_win_prop_Ignore_first_unmap(const Evas_Object *evas_obj)
-{
-   const E_Client *ec;
-   char *str = NULL;
-
-   ec = evas_object_data_get(evas_obj, "E_Client");
-   EINA_SAFETY_ON_NULL_RETURN_VAL(ec, NULL);
-
-   if (asprintf(&str, "%c", ec->ignore_first_unmap) < 0)
-     return NULL;
-
-   return str;
-}
-
-static const char*
 _get_win_prop_Transformed(const Evas_Object *evas_obj)
 {
    const E_Client *ec = evas_object_data_get(evas_obj, "E_Client");
@@ -2447,11 +2432,6 @@ static struct property_manager
         NULL
     },
     {
-        "Ignore_first_unmap",
-        _get_win_prop_Ignore_first_unmap,
-        NULL
-    },
-    {
         "Video Client",
         _get_win_prop_Video_Client,
         NULL