commit 2d2c21664cb01b18d3543c45d64f574e406f5a3f
parent a15cb1e20e165caf936319f9cdfb86f57effdfa6
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Tue, 15 Feb 2022 16:20:22 -0600
Merge pull request #181 from Armael/fix-client_set_tiled
fix client_set_tiled which is currently ignoring its "edges" argument
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/client.h b/client.h
@@ -156,8 +156,7 @@ client_set_tiled(Client *c, uint32_t edges)
if (client_is_x11(c))
return;
#endif
- wlr_xdg_toplevel_set_tiled(c->surface.xdg, WLR_EDGE_TOP |
- WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | WLR_EDGE_RIGHT);
+ wlr_xdg_toplevel_set_tiled(c->surface.xdg, edges);
}
static inline struct wlr_surface *