From e9d6d303b57f5dd64d3b6a188ad1332584d1b86d Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 5 Aug 2023 02:31:36 +0300 Subject: [PATCH] Revert "HOLY CRAPIT WORK" This reverts commit b4cabe9695d7e4b92ac7bd49173abfd7a94afc6d. --- config/dwm/dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dwm/dwm.c b/config/dwm/dwm.c index 18adaf0b..6e7d5c26 100644 --- a/config/dwm/dwm.c +++ b/config/dwm/dwm.c @@ -2684,8 +2684,8 @@ updatesystray(void) } w = w ? w + systrayspacing : 1; x -= w; - XMoveResizeWindow(dpy, systray->win, x - sp, m->by + vp, w, bh); - wc.x = x - sp; wc.y = m->by; wc.width = w; wc.height = bh; + XMoveResizeWindow(dpy, systray->win, x, m->by, w, bh); + wc.x = x; wc.y = m->by; wc.width = w; wc.height = bh; wc.stack_mode = Above; wc.sibling = m->barwin; XConfigureWindow(dpy, systray->win, CWX|CWY|CWWidth|CWHeight|CWSibling|CWStackMode, &wc); XMapWindow(dpy, systray->win);