My program (zim) runs in maemo5 too, but since there is no fullscreen hardware buton, once it goes fullscreen there is no way to go back to windowed mode.