How to make a sub window completely stay insight

A problem came to me that I need to keep a sub window from moving out of view. Not a single pixel. I believe it cannot be achieved from code on server side, since the event of a sub window movement is purely on browser side. The question would be is there a built-in mechanism to make a sub window completely stay insight? If not, please give some advise on how.

This is an old issue, see
http://dev.vaadin.com/ticket/3085

Hi Sascha,

Thanks a lot. I hope to see your patches applied to next Vaadin release.

Merry Christmas.