diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2026-02-01 21:53:06 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2026-02-20 15:23:52 -0500 |
| commit | 44964fcf86673ce64cc1ccca9128b868811ed348 (patch) | |
| tree | edc0fb7d227436f386028f062d0e96b3de7028a2 /include/swaynag | |
| parent | fa497964fd55632beacf5f425e964ae4893e25b9 (diff) | |
tree/workspace: fix crash on dragging container to workspace edgebandicoot
Problem: when dragging a parent container to the right of its children,
sway crashes, the calculated insertion index could exceed the list
bounds. The move logic would compute an index based on the pre-removal
list state.
Solution: Clamp the insertion index to [0, length].
Diffstat (limited to 'include/swaynag')
0 files changed, 0 insertions, 0 deletions
