Merge pull request #181 from Armael/fix-client_set_tiled

fix client_set_tiled which is currently ignoring its "edges" argument
This commit is contained in:
Devin J. Pohly 2022-02-15 16:20:22 -06:00 committed by GitHub
commit 2d2c21664c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 *