dwm update in progress

This commit is contained in:
2023-05-09 20:21:49 +02:00
parent 61775f18e4
commit e65b5d797a
330 changed files with 26354 additions and 16 deletions

View File

@@ -0,0 +1,16 @@
void
focusurgent(const Arg *arg)
{
Client *c;
int i;
for (c = selmon->clients; c && !c->isurgent; c = c->next);
if (c) {
for (i = 0; i < NUMTAGS && !((1 << i) & c->tags); i++);
if (i < NUMTAGS) {
if (((1 << i) & TAGMASK) != selmon->tagset[selmon->seltags])
view(&((Arg) { .ui = 1 << i }));
focus(c);
}
}
}