context, I programmed a function that allows me to drag a window without grabbing the top border part, I did this because I have windows without that part and I wanted to make them dragable.
The issue that I found is that while dragging, if the window is under a nongame window and the mouse moves from that window to ontop of that nongame window without leaving the window it still registers the mouse as being pressed on that window even if theres no input.