summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2022-02-15 16:20:22 -0600
committerGitHub <noreply@github.com>2022-02-15 16:20:22 -0600
commit2d2c21664cb01b18d3543c45d64f574e406f5a3f (patch)
treef319352ce50149ccacf0a37ff3c4105fba078cfa /client.h
parenta15cb1e20e165caf936319f9cdfb86f57effdfa6 (diff)
parentf587b2fd2c9f5967b9e8ca99fe70fbc80fb6c220 (diff)
Merge pull request #181 from Armael/fix-client_set_tiled
fix client_set_tiled which is currently ignoring its "edges" argument
Diffstat (limited to 'client.h')
-rw-r--r--client.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.h b/client.h
index 4fd1863..a6b3723 100644
--- 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 *