diff options
| author | elbachir-one <bachiralfa@gmail.com> | 2025-06-24 18:37:19 +0100 |
|---|---|---|
| committer | elbachir-one <bachiralfa@gmail.com> | 2025-06-24 18:48:37 +0100 |
| commit | 9c2ed0550d02711b073544351a531148be88e96f (patch) | |
| tree | 167bcafc5a34e6403c11c9b209e3612af15330a9 /src/parser.h | |
| parent | a05a81b1f07022071f939d097629ea5cc5b89871 (diff) | |
Add window validity checks to swallow and unswallow functions
- Verify `swallowed->win` before resizing to avoid potential crashes with invalid windows.
- Updated `unswallow_window` to verify `swallower->win` before mapping, raising, and focusing.
- Prevents undefined behavior when client windows are not properly initialized.
Diffstat (limited to 'src/parser.h')
0 files changed, 0 insertions, 0 deletions
