summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorelbachir-one <bachiralfa@gmail.com>2025-06-14 13:52:02 +0100
committerelbachir-one <bachiralfa@gmail.com>2025-06-14 13:52:05 +0100
commit23f59023f054d2f9c641baf3bf4f551702d3fd69 (patch)
tree67330a47d143d5ad22ee181c24b773914340e080 /.clang-format
parent0660788c28468957cf4bfb50f8343e2efe7e1e3d (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 '.clang-format')
0 files changed, 0 insertions, 0 deletions