From: Daniel Liu Date: Sat, 7 Aug 2021 19:24:04 +0000 (-0400) Subject: restore mouse keys X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=c60cd2984881cc7a2ae270eb3ba605dfd31bfc14;p=dwm.git restore mouse keys --- 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} }, };