summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 5b7d87f..252de1e 100644
--- a/dwl.c
+++ b/dwl.c
@@ -455,7 +455,8 @@ createnotify(struct wl_listener *listener, void *data)
c->bw = borderpx;
/* Tell the client not to try anything fancy */
- wlr_xdg_toplevel_set_tiled(c->xdg_surface, 1);
+ wlr_xdg_toplevel_set_tiled(c->xdg_surface, WLR_EDGE_TOP |
+ WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | WLR_EDGE_RIGHT);
/* Listen to the various events it can emit */
c->map.notify = maprequest;