]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: Move resistance_resize_apply() before view_adjust_size()
authorJohn Lindgren <john@jlindgren.net>
Mon, 18 Jul 2022 03:38:11 +0000 (23:38 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 18 Jul 2022 21:06:12 +0000 (22:06 +0100)
commit2b7be7125446de481bc70d26c94df03ee338a29e
treeebea25d8fb9f8725560caf3700a686426b24dd37
parent06cc21664fd66a969012cb5da56a1bf32f1c0a1e
cursor: Move resistance_resize_apply() before view_adjust_size()

This ensures that screen edge resistance does not result in sizes
that violate WM_SIZE_HINTS constraints.

Also correct a coding style issue nearby.
src/cursor.c