/Engine/Source/Runtime/SlateCore/Public/Input/Events.h
FWindowActivateEventdescribes a window being activated or deactivated. (i.e. brought to the foreground or moved to the background) This event is only passed to top level windows; most widgets are incapable of receiving this event.
class FWindowActivateEvent