Handling window resizing when there are no decorations

I’ve been implementing a custom title bar for my application, and most of it is straight forward.
Disable the window’s decorations through the Settings struct, create a title bar widget, call the correct windowing functions when you want to close / minimize / maximize / drag the window, and track left clicks to open the context menu.
The issue is that resizing does not work, and that seems to be a limitation of winit ( at least for Linux, Wayland ). It seems that Pop OS made their own implementation in their winit fork, which is why they’re able to do it. They have a field to set the resize border in the ( iced ) Settings struct, and the resizing is ( maybe ) handled by the following code (?).
Would it be possible to import those changes to iced’s fork of winit?

This might be required for Wayland to make it properly work: libcosmic/src/app/mod.rs at 2006d138eb87d080b6c9886ef9aa8079ff533688 · pop-os/libcosmic · GitHub

I guess another approach would possibly be exposing something akin to drag but for resizing ( drag_resize ), so at least the end-user can wrap the application in a MouseArea with some small padding, and call the function when the mouse button is being held.