I'm trying to create a fullscreen application that will hide the cursor to display a video file. Currently, everything is working fine except the ability to hide the cursor (It's obnoxious having a cursor stuck over the video and makes for poor presentation).

My project is written in C, not C++, and is using the GTK+-3.0 library as well as WebKitGtk. If anyone could be of assistance with hiding the cursor (I'd assume this is really simple, but maybe I'm undercutting it). Lastly, this is being ran and compiled on Ubuntu 12.04.

So is there a way to hide this annoying cursor?

share|improve this question
up vote 3 down vote accepted

Use gdk_window_set_cursor() with GDK_BLANK_CURSOR.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.