mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
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.
This commit is contained in:
parent
cad233b605
commit
94bb68afe1
1 changed files with 2 additions and 1 deletions
3
dwl.c
3
dwl.c
|
@ -455,7 +455,8 @@ createnotify(struct wl_listener *listener, void *data)
|
||||||
c->bw = borderpx;
|
c->bw = borderpx;
|
||||||
|
|
||||||
/* Tell the client not to try anything fancy */
|
/* 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 */
|
/* Listen to the various events it can emit */
|
||||||
c->map.notify = maprequest;
|
c->map.notify = maprequest;
|
||||||
|
|
Loading…
Reference in a new issue