How to Change the Cursor on GNOME?

Hello, best developers.
I want to use the touch screen without affecting the mouse position.
So, I have used xinput create-master xxxxx to create another cursor which only accepts touch event by, then I use XIdefineCursor() to set theme of the cursor. This theme can make the cursor invisiable, and that’s my intention.
But the theme of the cursor will be changed when it in a window which is created by Qt.
Now, I wish to maintain the cursor invisiable in any window.

Can someone help me?
Thanks!

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.