Quoting Jorge Luis Zapata Muga: > this function works as expected, but how can i restore the "default" > cursor? maybe after a release of the surface (passing NULL) it should > be restored, this function can be used as a quick hack to hide a > cursor in a window (set it to something and then release it). is > deliberate?.
There's no way to get the original shape back. Setting a NULL shape on the window won't help, because the shape is copied to the core's shape surface each time the cursor enters a window. Hence, the old data is overwritten and will only be changed again when another shape is set by entering a window with cursor != NULL. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
