From 47c3b32cabe10157e0d4490ab4c351d06f6659cb Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 24 Oct 2023 04:09:08 +0200 Subject: [PATCH] cycling windows when middle click on window name --- .gitignore | 1 + config.def.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 095e840..f913c1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.o dwm +config.h diff --git a/config.def.h b/config.def.h index a922797..e4a9e6f 100644 --- a/config.def.h +++ b/config.def.h @@ -128,7 +128,7 @@ static Button buttons[] = { { ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1} }, { ClkLtSymbol, 0, Button2, setlayout, {.v = &layouts[0]} }, { ClkLtSymbol, 0, Button3, cyclelayout, {.i = -1} }, - { ClkWinTitle, 0, Button2, zoom, {0} }, + { ClkWinTitle, 0, Button2, focusstack, {.i = +1} }, { ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1} }, { ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2} }, { ClkStatusText, 0, Button3, sigdwmblocks, {.i = 3} },