remove code related with E_Client's mwm value 61/304161/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 10 Jan 2024 10:18:11 +0000 (19:18 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 11 Jan 2024 05:50:59 +0000 (14:50 +0900)
Change-Id: I5d99f836d2aacc284f26a6b65436fc381fae4054

src/bin/e_client.c
src/bin/e_client.h
src/bin/e_comp_object.c

index 85aefab8584a8869256f11f141a593c457610545..3199e61c7e37d658368c82c20814b178857de1f5 100644 (file)
@@ -2382,8 +2382,6 @@ e_client_frame_update(E_Client *ec)
      bordername = "borderless";
    else if (ec->bordername)
      bordername = ec->bordername;
-   else if (ec->mwm.borderless)
-     bordername = "borderless";
    else if (((ec->icccm.transient_for != 0) || (ec->dialog)) &&
             (ec->icccm.min_w == ec->icccm.max_w) &&
             (ec->icccm.min_h == ec->icccm.max_h))
@@ -4568,10 +4566,6 @@ e_client_border_set(E_Client *ec, const char *name)
      CRI("CALLING WHEN border.changed SET!");
 
    if (!e_util_strcmp(ec->border.name, name)) return EINA_TRUE;
-   if (ec->mwm.borderless && name && strcmp(name, "borderless"))
-     {
-        CRI("border change attempted for MWM borderless client!");
-     }
    pborder = ec->border.name;
    ec->border.name = eina_stringshare_add(name);
    if (e_comp_object_frame_theme_set(ec->frame, name))
index 3fbffec8b52694a60fd8dfcfeb6fa70751af036d..8100a20ab88030fa3d5c7b5ec8630dd2cc7dcb57 100644 (file)
@@ -504,17 +504,6 @@ struct E_Client
       } fetch;
    } icccm;
 
-   /* MWM */
-   struct
-   {
-      unsigned char          exists : 1;
-      unsigned char          borderless : 1;
-      struct
-      {
-         unsigned char hints : 1;
-      } fetch;
-   } mwm;
-
    /* NetWM */
    struct
    {
@@ -1429,7 +1418,7 @@ static inline Eina_Bool
 e_client_util_borderless(const E_Client *ec)
 {
    if (!ec) return EINA_FALSE;
-   return (ec->borderless || ec->mwm.borderless || (!ec->border.name) || (!strcmp(ec->border.name, "borderless")));
+   return (ec->borderless || (!ec->border.name) || (!strcmp(ec->border.name, "borderless")));
 }
 
 static inline Eina_Bool
index 5dde699657ab76d7e480d14172beb133737342b0..acaf69d326c53360174c83eac06c4c26c650d106 100644 (file)
@@ -4077,7 +4077,7 @@ EINTERN Eina_Bool
 e_comp_object_frame_allowed(Evas_Object *obj)
 {
    API_ENTRY EINA_FALSE;
-   return (!cw->ec->mwm.borderless) && (cw->frame_object || (!cw->client_inset.calc));
+   return (cw->frame_object || (!cw->client_inset.calc));
 }
 
 EINTERN Eina_Bool