mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
cc477e9ca6
This commit fixes a platform inconsistency that prevented custom-decorated windows from being resizable on edges where their custom decorations placed a draggable system.ActionInputOp. The prior behavior always checked for this action type before checking if the cursor was potentially in a window resize area, which meant that for windows with material.Decorations, it was impossible to resize those windows from their top edge. The system.ActionMove handler would always win. This is not the case on platforms like macOS, so this commit makes the behavior consistent by prioritizing resize over drag. Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>