init bruv
This commit is contained in:
parent
9cedeaba2a
commit
6c5b8c80a9
|
@ -11,5 +11,5 @@ DATADIR = $(PREFIX)/share
|
|||
XWAYLAND =
|
||||
XLIBS =
|
||||
# Uncomment to build XWayland support
|
||||
#XWAYLAND = -DXWAYLAND
|
||||
#XLIBS = xcb xcb-icccm
|
||||
XWAYLAND = -DXWAYLAND
|
||||
XLIBS = xcb xcb-icccm
|
||||
|
|
6
dwl.c
6
dwl.c
|
@ -1604,7 +1604,11 @@ mapnotify(struct wl_listener *listener, void *data)
|
|||
c->geom.height += 2 * c->bw;
|
||||
|
||||
/* Insert this client into client lists. */
|
||||
wl_list_insert(&clients, &c->link);
|
||||
if (clients.prev)
|
||||
// tile at the bottom
|
||||
wl_list_insert(clients.prev, &c->link);
|
||||
else
|
||||
wl_list_insert(&clients, &c->link);
|
||||
wl_list_insert(&fstack, &c->flink);
|
||||
|
||||
/* Set initial monitor, tags, floating status, and focus:
|
||||
|
|
Loading…
Reference in New Issue