xdg_toplevel_v6: Remove an unused field in struct 20/294920/2
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 15 May 2023 05:27:52 +0000 (14:27 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 29 Jun 2023 01:17:46 +0000 (01:17 +0000)
Change-Id: Idab336b073cbcc768c1d3c1bc7af6d10b144f76e

src/xdg_shell_v6/xdg_shell_v6.h
src/xdg_shell_v6/xdg_toplevel_v6.c

index 161b7ef..5bd7615 100644 (file)
@@ -49,7 +49,6 @@ struct ds_xdg_client_v6
 struct ds_xdg_toplevel_v6_state
 {
     bool maximized, fullscreen, resizing, activated;
-    uint32_t tiled;
     uint32_t width, height;
     uint32_t max_width, max_height;
     uint32_t min_width, min_height;
@@ -58,7 +57,6 @@ struct ds_xdg_toplevel_v6_state
 struct ds_xdg_toplevel_v6_configure
 {
     bool maximized, fullscreen, resizing, activated;
-    uint32_t tiled;
     uint32_t width, height;
 };
 
index 29cb187..7e5426a 100644 (file)
@@ -162,11 +162,6 @@ send_xdg_toplevel_v6_configure(struct ds_xdg_surface_v6 *surface,
         *s = ZXDG_TOPLEVEL_V6_STATE_ACTIVATED;
     }
 
-    if (surface->toplevel->scheduled.tiled) {
-        ;;;
-        // TODO
-    }
-
     width = surface->toplevel->scheduled.width;
     height = surface->toplevel->scheduled.height;