Manhart Matthias wrote:
> I made the update from release DirectFB-0.9.25.1 to DirectFB-1.0.0.
>
> I implemented a window-handler in an application and i could close
> windows with restoring the background under this window without any
> problem with 0.9.25.1. The sequence to close a window looks like this:
>
> window_surface->Release( window_surface );
> window->Release( window );
>
> The same code does not work with 1.0.0 anymore. The window stays on the
> screen.
>
> I can move around the window with:
>
> window->Move (window, 0, 5);
>
> The background is restored all the time. Any idea ?
>
If you have attached the window to an event buffer, you must detach it
using DetachEventBuffer() to get the window destroyed.
Another solution is to Destroy() the window directly.
--
Regards,
Claudio Ciccani
[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users