update to dwm 6.3

This commit is contained in:
2022-01-08 10:31:14 +01:00
parent 3e2a2695a8
commit 3a5cb824ff
5 changed files with 10 additions and 4 deletions

7
dwm.c
View File

@@ -474,7 +474,7 @@ buttonpress(XEvent *e)
arg.ui = 1 << i;
} else if (ev->x < x + blw)
click = ClkLtSymbol;
else if (ev->x > selmon->ww - TEXTW(stext))
else if (ev->x > selmon->ww - (int)TEXTW(stext))
click = ClkStatusText;
else
click = ClkWinTitle;
@@ -774,6 +774,9 @@ drawbar(Monitor *m)
unsigned int i, occ = 0, urg = 0;
Client *c;
if (!m->showbar)
return;
/* draw status first so it can be overdrawn by tags later */
/* removed conditional here to only draw on selected monitor, now draws on all */
drw_setscheme(drw, scheme[SchemeNorm]);
@@ -918,7 +921,7 @@ focusstack(const Arg *arg)
{
Client *c = NULL, *i;
if (!selmon->sel)
if (!selmon->sel || (selmon->sel->isfullscreen && lockfullscreen))
return;
if (arg->i > 0) {
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);