Hi folks, in my app I have a component that the user can put into kiosk mode, using a keyboard command (ctrl-f). This triggers:
Desktop::getInstance().setKioskModeComponent(theComponent);
When in kiosk mode, I don’t want to display the mouse cursor, so right before the above line, I also do:
theComponent->setMouseCursor(MouseCursor::NoCursor);
But, since the keyboard is what put theComponent into kiosk mode, the mouse doesn’t disappear until I click it or move it. This mainly happens on OS X, but I’ve had it happen on Windows too. It seems that the mouse isn’t aware that there’s a new component under it. I tried calling the updateMouseCursor function, but it doesn’t seem to do anything. Any ideas?
Thanks.
