mirror of
https://github.com/tiyn/dwl.git
synced 2025-11-13 13:59:45 +01:00
add number to deck layout
This commit is contained in:
1
dwl.c
1
dwl.c
@@ -1292,6 +1292,7 @@ deck(Monitor *m)
|
|||||||
} else {
|
} else {
|
||||||
resize(c, (struct wlr_box){.x = m->w.x + mw, .y = m->w.y,
|
resize(c, (struct wlr_box){.x = m->w.x + mw, .y = m->w.y,
|
||||||
.width = m->w.width - mw, .height = m->w.height}, 0);
|
.width = m->w.width - mw, .height = m->w.height}, 0);
|
||||||
|
snprintf(m->ltsymbol, LENGTH(m->ltsymbol), "%d", n-1);
|
||||||
if (c == focustop(m))
|
if (c == focustop(m))
|
||||||
wlr_scene_node_raise_to_top(&c->scene->node);
|
wlr_scene_node_raise_to_top(&c->scene->node);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user