From 7fd7a6d307e7b4bb525ceb50385c08258548848f Mon Sep 17 00:00:00 2001 From: Christopher Thomas Bohn Date: Sun, 7 Jun 2020 11:47:34 -0500 Subject: [PATCH] notitle --- config.def.h | 1 - dwm.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 2c65024..0f65a16 100644 --- a/config.def.h +++ b/config.def.h @@ -102,7 +102,6 @@ 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} }, diff --git a/dwm.c b/dwm.c index c1597a6..9ba6111 100644 --- a/dwm.c +++ b/dwm.c @@ -441,6 +441,7 @@ buttonpress(XEvent *e) } else if (ev->x < x + blw) click = ClkLtSymbol; else + click = ClkStatusText; } else if ((c = wintoclient(ev->window))) { focus(c); restack(selmon); -- 2.38.5