In some cases my SpectMorph plugin has the problem that the mouse pointer hits the border of the screen while the user would still want to drag further. For instance SpectMorph has sliders which support SHIFT+drag to do fine adjustment. In this case after the mouse click the mouse is moving much faster than the slider itself.
The best fix I can think of is for these cases grab & hide the mouse pointer so that it will not hit the border of the screen no matter how far the user drags the mouse from its original click point. I wonder if this would be a feature you would want to see added to pugl. If so, I can try to provide an API suggestion and at least an implementation for X11 as PR.
In some cases my SpectMorph plugin has the problem that the mouse pointer hits the border of the screen while the user would still want to drag further. For instance SpectMorph has sliders which support SHIFT+drag to do fine adjustment. In this case after the mouse click the mouse is moving much faster than the slider itself.
The best fix I can think of is for these cases grab & hide the mouse pointer so that it will not hit the border of the screen no matter how far the user drags the mouse from its original click point. I wonder if this would be a feature you would want to see added to pugl. If so, I can try to provide an API suggestion and at least an implementation for X11 as PR.