Merge upstream release '6.5'

This commit is contained in:
2024-05-22 21:33:03 +05:30
9 changed files with 201 additions and 181 deletions

View File

@@ -64,6 +64,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 */
#include "./fibonacci.c"
#include "./gaplessgrid.c"
@@ -98,9 +99,8 @@ static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-e", "tmux",
NULL };
static char *statuscmds[] = { "notify-send Mouse$BUTTON" };
static char *statuscmd[] = { "/bin/sh", "-c", NULL, NULL };
static Key keys[] = {
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } },
@@ -149,7 +149,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]} },