dwmblocks and status2d compatibility fix for barpadding patch

This commit is contained in:
bakkeby 2020-05-28 07:31:00 +02:00
parent 66a32a0e48
commit 2c9ff7453a

3
dwm.c
View File

@ -737,6 +737,9 @@ buttonpress(XEvent *e)
#if STATUSCMD_PATCH && !DWMBLOCKS_PATCH
lastbutton = ev->button;
#endif // STATUSCMD_PATCH | DWMBLOCKS_PATCH
#if BARPADDING_PATCH
padding -= sp * 2;
#endif // BARPADDING_PATCH
#if SYSTRAY_PATCH
padding -= getsystraywidth();
#endif // SYSTRAY_PATCH