This patch :
- fixes a bug that generates a segmentation fault when
the app switches between fullscreen and windowed mode
(the example 'dialog' now works)
- The fullscreen functions have been merged with the
windowed ones (it allows to share much code between the
- should permit the mouse to work under fullscreen
- Fullscreen driver should also cleanly quit.