How do you hide the mouse pointer under Linux/X11?

前端 未结 10 2102
小蘑菇
小蘑菇 2020-12-05 00:44

How do I hide the mouse pointer under X11? I would like to use the built in libraries in order to do this and not something like SDL (SDL_ShowCursor(0)) or glut (glutSetCur

10条回答
  •  星月不相逢
    2020-12-05 00:48

    There is a -no-cursor option for Xorg 1.7 and later. https://www.x.org/wiki/AdvancedTopicsFAQ/

    xinit -- -nocursor or startx -- -nocursor could work.

提交回复
热议问题