aboutsummaryrefslogtreecommitdiff
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
parentdocs(readme): recommend zig (diff)
downloadseiwm-1f46f11a62341bf941e5d9c24d5577912d75fa3e.tar.xz
seiwm-1f46f11a62341bf941e5d9c24d5577912d75fa3e.zip
fix(sei.c): systraypinning toggle fix
-rw-r--r--README.md21
-rw-r--r--sei.c2
2 files changed, 15 insertions, 8 deletions
diff --git a/README.md b/README.md
index 33c562d..0e21908 100644
--- a/README.md
+++ b/README.md
@@ -29,21 +29,28 @@ makepkg -si
## Recommendations
-- Use [Compfy](https://github.com/allusive-dev/compfy) for X11 compositing for "transparency, background blurring, rounded corners, animations and way more!"
-- Install and specify [Zig](https://ziglang.org/) as `CC` inside of [`config.mk`](https://github.com/Fuwn/seiwm/blob/master/config.mk#L43) for improved memory allocation and runtime speed: `CC = zig cc`
+- Use [Compfy](https://github.com/allusive-dev/compfy) for X11 compositing for
+ "transparency, background blurring, rounded corners, animations and way more!"
## Sei Specific Fixes & Patches
- Removed refresh rate limit
- Fixed tray position and button responsiveness for use with custom padding
-- Reactive bar toggling: If the user has manually toggled the bar visibility using <kbd>mod+b</kbd>, the bar
- will stay locked with the same visibility. If the user has not manually toggled the bar visibility, the bar visibility will
+- Reactive bar toggling: If the user has manually toggled the bar visibility
+ using <kbd>mod+b</kbd>, the bar
+ will stay locked with the same visibility. If the user has not manually
+ toggled the bar visibility, the bar visibility will
reflect that of the full-screen state.
-- Clear nametag patch's current tag name upon new assignment and reset tag name to default upon empty string. (why is this not default behaviour?)
-- Append mode for nametag: Chose between appending the name of a tag to the default name or to overwrite it completely
+- Clear nametag patch's current tag name upon new assignment and reset tag name
+ to default upon empty string. (why is this not default behaviour?)
+- Append mode for nametag: Chose between appending the name of a tag to the
+ default name or to overwrite it completely
- XSession desktop entry
- centretitle patch toggle
-- followclient: Optionally follow a client's view if the target tag is empty
+- `followclient`: Optionally follow a client's view if the target tag is empty
+- `systraypinning` toggle fix: If `systraypinning` is enabled, the system tray will
+ only toggle its visibility if the mutation originates from the monitor it is
+ pinned on.
## "Official" Patches
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;