The signal deactivate is emitted when a window is no longer the active window of the application or session.
2.2
The signal deactivate is emitted when a window is no longer the active window of the application or session.