diff options
| author | Devin J. Pohly <djpohly@gmail.com> | |
|---|---|---|
| 2020-05-09 14:50:31 -0500 | ||
| committer | Devin J. Pohly <djpohly@gmail.com> | |
| 2020-05-09 14:50:31 -0500 | ||
| commit | 94bb68afe185fb90a35eaafe30fbca5d1f0710d5 (patch) | |
| tree | d4b96e7cb9a8b5ea310527be64b6c6df96576fa0 /dwl.c | |
| parent | cad233b6057d282deb93fbf3e1b56091a38d1747 (diff) | |
| download | dwl-94bb68afe185fb90a35eaafe30fbca5d1f0710d5.tar.gz dwl-94bb68afe185fb90a35eaafe30fbca5d1f0710d5.tar.bz2 dwl-94bb68afe185fb90a35eaafe30fbca5d1f0710d5.zip | |
use wlr_xdg_surface.set_tiled correctly
Closes #2. I'm guessing from sway that the idea of setting maximized
state so that windows cooperate is superseded by using set_tiled.
@@ -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; |