master
Jef Roosens 2022-03-04 21:28:30 +01:00
commit ce06f10147
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
3 changed files with 6 additions and 2 deletions

View File

@ -42,6 +42,7 @@ static const Rule rules[] = {
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
static const Layout layouts[] = {
/* symbol arrange function */

View File

@ -1,5 +1,5 @@
# dwm version
VERSION = 6.2
VERSION = 6.3
# Customize below to fit your system

5
dwm.c
View File

@ -729,6 +729,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 */
if (m == selmon) { /* status is only drawn on selected monitor */
drw_setscheme(drw, scheme[SchemeNorm]);
@ -862,7 +865,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);