fix client_set_tiled, which was ignoring its "edges" argument

main
Armaël Guéneau 2022-01-08 17:41:45 +01:00
parent f85d8e79d0
commit f587b2fd2c
1 changed files with 1 additions and 2 deletions

View File

@ -156,8 +156,7 @@ client_set_tiled(Client *c, uint32_t edges)
if (client_is_x11(c)) if (client_is_x11(c))
return; return;
#endif #endif
wlr_xdg_toplevel_set_tiled(c->surface.xdg, WLR_EDGE_TOP | wlr_xdg_toplevel_set_tiled(c->surface.xdg, edges);
WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | WLR_EDGE_RIGHT);
} }
static inline struct wlr_surface * static inline struct wlr_surface *