Tell windows they are maximized

Tiled was being used wrong anyway (needed enum wlr_edges)
This commit is contained in:
Devin J. Pohly 2020-05-09 00:58:35 -05:00 committed by GitHub
parent 7afe152c47
commit c92967a203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dwl.c
View File

@ -459,7 +459,7 @@ 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_maximized(c->xdg_surface, 1);
/* Listen to the various events it can emit */
c->map.notify = maprequest;