From c60cd2984881cc7a2ae270eb3ba605dfd31bfc14 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Sat, 7 Aug 2021 15:24:04 -0400 Subject: [PATCH] restore mouse keys --- config.def.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config.def.h b/config.def.h index e1dd01a..1107181 100644 --- a/config.def.h +++ b/config.def.h @@ -126,16 +126,16 @@ static Key keys[] = { /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ - /* { ClkLtSymbol, 0, Button1, setlayout, {0} }, */ - /* { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, */ - /* { ClkWinTitle, 0, Button2, zoom, {0} }, */ - /* { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, */ - //{ ClkClientWin, MODKEY, Button1, movemouse, {0} }, - //{ ClkClientWin, MODKEY, Button2, togglefloating, {0} }, - //{ ClkClientWin, MODKEY, Button3, resizemouse, {0} }, - /* { ClkTagBar, 0, Button1, view, {0} }, */ - /* { ClkTagBar, 0, Button3, toggleview, {0} }, */ - /* { ClkTagBar, MODKEY, Button1, tag, {0} }, */ - /* { ClkTagBar, MODKEY, Button3, toggletag, {0} }, */ + { ClkLtSymbol, 0, Button1, setlayout, {0} }, + { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, + { ClkWinTitle, 0, Button2, zoom, {0} }, + { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, + { ClkClientWin, MODKEY, Button1, movemouse, {0} }, + { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, + { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, + { ClkTagBar, 0, Button1, view, {0} }, + { ClkTagBar, 0, Button3, toggleview, {0} }, + { ClkTagBar, MODKEY, Button1, tag, {0} }, + { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; -- 2.20.1