diff options
author | 2023-03-03 12:03:06 +0100 | |
---|---|---|
committer | 2023-03-03 12:03:06 +0100 | |
commit | 55529815550b8f556398f147d21931f1181d948f (patch) | |
tree | 795550f72273b306fee97418e8ee0ac838b3e922 /config.def.h | |
parent | 343a754ede81c98e97b1afbb0697ecf2638fd4ff (diff) | |
parent | 348f6559ab0d4793db196ffa56ba96ab95a594a6 (diff) | |
download | dwm-55529815550b8f556398f147d21931f1181d948f.tar.gz dwm-55529815550b8f556398f147d21931f1181d948f.zip |
Merge branch 'master' into custom
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 8808846..c4fcd29 100644 --- a/config.def.h +++ b/config.def.h @@ -36,6 +36,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 */ @@ -62,7 +63,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; -static Key keys[] = { +static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, @@ -103,7 +104,7 @@ static Key keys[] = { /* button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ -static Button buttons[] = { +static const Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, |