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