aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-10 10:34:43 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-10 10:34:43 -0600
commit432c15fb094a3b517482a4ed30f08ffcbf74afa7 (patch)
treee4664a73c1b4c2aef674cbc4f01ce5ba2e586b32 /client.h
parent2630664fefacc9e4c6a5a12de8b96a04657f3c5f (diff)
parent3e6d584de107a3d555d652b55bf5227d03f2f957 (diff)
Merge branch 'main' into wlroots-next
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 ce41c1c..753d0a8 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->toplevel, WLR_EDGE_TOP |
- WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | WLR_EDGE_RIGHT);
+ wlr_xdg_toplevel_set_tiled(c->surface.xdg->toplevel, edges);
}
static inline struct wlr_surface *