diff options
| author | Alexander Leonhardt <equinox.salexander@gmail.com> | |
|---|---|---|
| 2026-09-05 13:34:02 +0200 | ||
| committer | Alexander Leonhardt <equinox.salexander@gmail.com> | |
| 2026-09-05 13:34:02 +0200 | ||
| commit | 3a57e326867d7d7c1babb9bcaf9d70e7f66c1863 (patch) | |
| tree | 7457b622fe73adaab4edb74331483bc6fc866ce2 /dwl.c | |
| parent | 991e8641545c0544372389d0cb6b1a37cef8517f (diff) | |
| download | dwl-3a57e326867d7d7c1babb9bcaf9d70e7f66c1863.tar.gz dwl-3a57e326867d7d7c1babb9bcaf9d70e7f66c1863.tar.bz2 dwl-3a57e326867d7d7c1babb9bcaf9d70e7f66c1863.zip | |
Added attachbottom
@@ -2220,7 +2220,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: |