Choose location of resize handles on frameless window


Hi, I’m making an app with a very customized window frame. It’s a frameless, transparent window with rounded corners and a material design box shadow. The only problem is that the dimensions of window itself are not at the pseudo-frame itself where the user would expect it, but at the end of the box shadow. Is there any way to set the resize handles to the div I used to emulate the window?