This event occurs when window completes activation or deactivation, it also fires up when you snap and unsnap the application.
library
apps