So, what's the problem here exactly? When would a user be exiting the application while simultaneously dragging the applications window?
Anyway, window events are "paused" until the window is released (as you have noticed).
Off-topic Note: I'd recommend creating a simple title for threads, and actually asking the question in the thread itself.