subsoap / defos

Extra native OS functions for games written using the Defold game engine
Creative Commons Zero v1.0 Universal
112 stars 16 forks source link

allow `clip cursor to game view area` for Linux #122

Open cloudziq opened 3 years ago

cloudziq commented 3 years ago

brave_2021-08-10_02-51-08

small feature request as in issue title, hoping someone will jump in and make it possible :)

Lack of this feature for Linux completly (or almost) break my game, if I going to bundle it for that platform. Not to mention others can use it for own advantages Thanks in advance, cheers

subsoap commented 3 years ago

https://tronche.com/gui/x/xlib/input/XGrabPointer.html

confine_to | Specifies the window to confine the pointer in or None.