mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 02:04:14 +00:00
Tell windows they are maximized
Tiled was being used wrong anyway (needed enum wlr_edges)
This commit is contained in:
parent
7afe152c47
commit
c92967a203
2
dwl.c
2
dwl.c
@ -459,7 +459,7 @@ 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_maximized(c->xdg_surface, 1);
|
||||||
|
|
||||||
/* 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…
x
Reference in New Issue
Block a user