ofHideCursor not working

It seems like hiding the mouse cursor doesn’t work with 0.8.3 on Ubuntu 12.04 neither in fullscreen nor in windowed mode. I tried it with the emptyExample and added nothing but the ofHideCuror() to the setup function.
Does anybody have a suggestion how to work around that or fix it?

try Glut:

  • #include “ofMain.h”
    #include “ofAppGlutWindow.h”
    int main( ){
    ofAppGlutWindow window;
    ofSetupOpenGL(&window, 500, 250, OF_WINDOW);
    ofRunApp( new ofApp());

Since you are under linux you can also install and use unclutter for this purpose in case you dont want to switch to GLUT.

1 Like

Hi, I’m having the same issue. did you find the way to fix this?

Use a newer version of OF, or try using Glut like above!

I am using of 0.9.8 with Ubuntu 16.04LTS and I had to use Unclutter too in order to hide the cursor. It works but of course an OF only solution would be much better.

I proposed a fix for that here: https://github.com/openframeworks/openFrameworks/pull/5860