Pass window ID to scheme handlers.