diff options
| author | moadAlami <moadalami40@gmail.com> | 2025-08-31 09:09:48 +0100 |
|---|---|---|
| committer | moadAlami <moadalami40@gmail.com> | 2025-08-31 09:09:48 +0100 |
| commit | 6cac1abb480ce53a122b510e1d7d52f3fb9c03a0 (patch) | |
| tree | 11d375838a6d301cde0ec77df4c99e126a1cac11 | |
| parent | a4f7c2f7771f8240f56f0dff354d541068e33aa2 (diff) | |
added fix of systray-statuscmd conflict
| -rw-r--r-- | README | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -50,3 +50,29 @@ and (re)compiling the source code. Patches ------- systray - zoomswap - scratchpad - sticky - pertag - noborder - movestack - hide vacant tags - bar height - actualfullscreen - alpha monocle layout - bidi - fakefullscreenclient - moveresize - statuscmd + +Fixes +----- +To fix systray and statuscmd conflicts: + + In the buttonpress function where you have this line: + + else if (ev->x > selmon->ww - statusw) { + +and you have to make sure that it takes the width of the systray into account as well, so you end up with: + + else if (ev->x > selmon->ww - statusw - getsystraywidth()) { + +Replace + + drw_text(drw, m->ww - statusw + x, 0, tw, bh, 0, text, 0); + +With + + drw_text(drw, m->ww - statusw - stw + x, 0, tw, bh, 0, text, 0); + + +Fix for offset of clicks + + else if (ev->x > selmon->ww - statusw - getsystraywidth()) { + x = selmon->ww - statusw - getsystraywidth(); //This wasn't there before |
