e_client: use e_zone_desk_useful_geometry_get in e_client_maximize 15/292115/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 25 Apr 2023 12:48:15 +0000 (21:48 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 27 Apr 2023 08:32:25 +0000 (08:32 +0000)
Change-Id: I62adb5fdcc91ef70b1cd352cabaa407fb5be0b9d

src/bin/e_client.c

index 8b1a2d9..37b5db9 100644 (file)
@@ -2760,10 +2760,7 @@ _e_client_maximize(E_Client *ec, E_Maximize max)
                }
              else
                {
-                  zx = desk_x;
-                  zy = desk_y;
-                  zw = desk_w;
-                  zh = desk_h;
+                  e_zone_desk_useful_geometry_get(ec->zone, ec->desk, &zx, &zy, &zw, &zh);
                }
           }
         else