Removing redundant lastbutton variable when both statuscmd and dwmblocks patches are enabled

This commit is contained in:
bakkeby
2020-05-05 19:59:21 +02:00
parent a6c2fe5668
commit 1a4b3632d1
2 changed files with 3 additions and 3 deletions

4
dwm.c
View File

@@ -721,9 +721,9 @@ buttonpress(XEvent *e)
Client *c;
Monitor *m;
XButtonPressedEvent *ev = &e->xbutton;
#if STATUSCMD_PATCH
#if STATUSCMD_PATCH && !DWMBLOCKS_PATCH
lastbutton = ev->button;
#endif // STATUSCMD_PATCH
#endif // STATUSCMD_PATCH | DWMBLOCKS_PATCH
#if AWESOMEBAR_PATCH || STATUSCMD_PATCH
padding += lrpad - 2;
#endif // AWESOMEBAR_PATCH | STATUSCMD_PATCH