diff options
| author | bakkeby <[email protected]> | 2020-07-01 16:16:19 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-07-01 16:16:19 +0200 |
| commit | 8120e0b858b9666987ebe68ae6d1011e6dda204d (patch) | |
| tree | 0d4fb6283c0af22a855b63e2f7744983c1afbcb6 /patch | |
| parent | 9e8d70788cfd03ca05ca57fab0b469f40c6f47e0 (diff) | |
| download | dwm-flexipatch-8120e0b858b9666987ebe68ae6d1011e6dda204d.tar.gz dwm-flexipatch-8120e0b858b9666987ebe68ae6d1011e6dda204d.zip | |
Fixed a dwmblocks / statuscmd / systray compatibility issue where button clicks would be misaligned if systray pinning is used and systray is on another monitor
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/systray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patch/systray.c b/patch/systray.c index e3b0796..107bcbc 100644 --- a/patch/systray.c +++ b/patch/systray.c @@ -47,8 +47,8 @@ systraytomon(Monitor *m) return selmon; return m == selmon ? m : NULL; } - for (n = 1, t = mons; t && t->next; n++, t = t->next) ; - for (i = 1, t = mons; t && t->next && i < systraypinning; i++, t = t->next) ; + for (n = 1, t = mons; t && t->next; n++, t = t->next); + for (i = 1, t = mons; t && t->next && i < systraypinning; i++, t = t->next); if (systraypinningfailfirst && n < systraypinning) return mons; return t; |
