diff options
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1726,7 +1726,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: |
