mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
dwmblocks and status2d compatibility fix for barpadding patch
This commit is contained in:
parent
66a32a0e48
commit
2c9ff7453a
3
dwm.c
3
dwm.c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user