Hi and welcome Jesse Jin,
Sorry but I have no idea what you are trying to tell with your message. I do not won or use windows so I do not know what behaviour Windows OS displays.
Do you mean that on Linux the OnDeactivate message should be displayed ? Or do you mean the behavipur should be the other way around?
Besides that, behaviour might depend on used widgetset, display-server, windows manager etc.