Tree
- Tree:
927b6fe2a338e9fe2e583af6a2894936f4104405- Date:
- Message:
- bxnotify.c: Implement vertical stacking - Enable concurrent notifications to stack vertically without overlapping or race conditions by introducing a locked registry file. - Add registry system: Use ~/.local/tmp/bxnotify.reg to coordinate Y positions between concurrent instances. - Prevent race conditions by implementing flock(2) (exclusive lock) to atomically read, calculate, and write window positions. - Use kill(pid, 0) to garbage-collect stale PIDs of crashed or closed notifications from the registry for a self-cleaing state. - Apply XSetClassHint so the window is properly identified as “bxnotify”. - Refactor setup() to accept y as an argument calculated before window mapping, removing hardcoded WIN_Y positioning.
| .gitignore | commits | blame |
| Makefile | commits | blame |
| bxnotify.c | commits | blame |
| config.def.h | commits | blame |
