exension notificaion when there is change in browser window size
===

I've developed a firefox extension that need to be notified whenever there is change in browser window size

I used **gBrowser.addeventListener("resize",my_funcion,false);**
in my .js file of exension.
But this will be notify very frequenly when you change the browser window size by dragging . but i need the final value of window parameter **after resize is done, not during resize**

Which event i should register to do this ?


Thanks in advance