resistance: add window-edge resistance for interactive moves/resizes

This commit is contained in:
Andrew J. Hesford 2024-01-20 21:59:46 -05:00 committed by Andrew J. Hesford
parent f73e9ded1c
commit 57ea197e6c
6 changed files with 199 additions and 138 deletions

View file

@ -110,6 +110,7 @@ struct rcxml {
/* resistance */
int screen_edge_strength;
int window_edge_strength;
/* window snapping */
int snap_edge_range;