I realized that Gtk does not have related API, I need to use Pointer constraints protocol according to
Locking mouse cursor to specific window
But I don’t know how to use this protocol in my Gtk code.
I would like to find a way to integrate it into my Gtk project, what should I learn to do this?
New contributor
jack cui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.