aboutsummaryrefslogtreecommitdiff
path: root/sei.c
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-22 22:23:03 -0800
committerFuwn <[email protected]>2024-01-22 22:23:41 -0800
commit1f46f11a62341bf941e5d9c24d5577912d75fa3e (patch)
tree87840b1eb160f24762b83342fde901bc4df6b07e /sei.c
parentdocs(readme): recommend zig (diff)
downloadseiwm-1f46f11a62341bf941e5d9c24d5577912d75fa3e.tar.xz
seiwm-1f46f11a62341bf941e5d9c24d5577912d75fa3e.zip
fix(sei.c): systraypinning toggle fix
Diffstat (limited to 'sei.c')
-rw-r--r--sei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sei.c b/sei.c
index c73a3d9..ebb2820 100644
--- a/sei.c
+++ b/sei.c
@@ -2460,7 +2460,7 @@ void togglebar(const Arg *arg) {
!selmon->showbar;
updatebarpos(selmon);
resizebarwin(selmon);
- if (showsystray) {
+ if (showsystray && selmon == systraytomon(selmon)) {
XWindowChanges wc;
if (!selmon->showbar)
wc.y = -bh;