diff options
| author | elbachir-one <bachiralfa@gmail.com> | 2025-06-14 13:52:02 +0100 |
|---|---|---|
| committer | elbachir-one <bachiralfa@gmail.com> | 2025-06-14 13:52:05 +0100 |
| commit | 23f59023f054d2f9c641baf3bf4f551702d3fd69 (patch) | |
| tree | 67330a47d143d5ad22ee181c24b773914340e080 /.clangd | |
| parent | 0660788c28468957cf4bfb50f8343e2efe7e1e3d (diff) | |
Improve drag handling: fix swap flicker, add snapping helper, clamp resize
- Fixed bug in DRAG_SWAP where `last_swap_target` reset each motion event
- Added `snap_coordinate()` helper to reduce code duplication in move logic
- Enforced minimum window size via `MIN_WINDOW_SIZE` define
- Clamped window resize to screen bounds
- Removed magic numbers for better configurability and clarity
Diffstat (limited to '.clangd')
0 files changed, 0 insertions, 0 deletions
