From f9a9206096cbd3c4e9024de106e7a32ce96f6314 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 23 May 2024 17:03:41 -0700 Subject: feat(dwm.c): systraypinning toggle fix --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index d083c66..b73473b 100644 --- a/dwm.c +++ b/dwm.c @@ -2489,7 +2489,7 @@ togglebar(const Arg *arg) selmon->showbar = selmon->pertag->showbars[selmon->pertag->curtag] = !selmon->showbar; updatebarpos(selmon); resizebarwin(selmon); - if (showsystray) { + if (showsystray && selmon == systraytomon(selmon)) { XWindowChanges wc; if (!selmon->showbar) wc.y = -bh; -- cgit v1.2.3