fix client_set_tiled, which was ignoring its "edges" argument

This commit is contained in:
Armaël Guéneau 2022-01-08 17:41:45 +01:00
parent f85d8e79d0
commit f587b2fd2c

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 *