A window switching method, comprising: determining (101, 301) whether an application running in a foreground of a terminal is displayed in a manner of a free window Freeform; monitoring whether the application running in the free window Freeform has a triggering event that meets a preset condition occurred, in response to the application being displayed in the manner of the free window Freeform; and switching the free window Freeform to a full-screen display window, in response to the application running in the free window Freeform having the triggering event that meets the preset condition occurred; wherein the monitoring whether the triggering event that meets the preset condition occurs in the application in response to the application being displayed in the manner of the free window Freeform comprises: monitoring whether a current display interface of the application running in the free window Freeform is a preset function interface; wherein the preset function interface indicates that the application is performing a preset function on the current display interface; determining the application running in the free window Freeform to have the triggering event that meets the preset condition occurred, in response to the current display interface of the application being the preset function interface; and restoring the application running in the full-screen display window to the free window Freeform, in response to the current display interface of the application being changed from the preset function interface to a non-preset function interface; wherein the non-preset function interface indicates that the application is not performing the preset function on the current display interface. determining (101, 301) whether an application running in a foreground of a terminal is displayed in a manner of a free window Freeform; monitoring whether the application running in the free window Freeform has a triggering event that meets a preset condition occurred, in response to the application being displayed in the manner of the free window Freeform; and switching the free window Freeform to a full-screen display window, in response to the application running in the free window Freeform having the triggering event that meets the preset condition occurred; wherein the monitoring whether the triggering event that meets the preset condition occurs in the application in response to the application being displayed in the manner of the free window Freeform comprises: monitoring whether a current display interface of the application running in the free window Freeform is a preset function interface; wherein the preset function interface indicates that the application is performing a preset function on the current display interface; determining the application running in the free window Freeform to have the triggering event that meets the preset condition occurred, in response to the current display interface of the application being the preset function interface; and restoring the application running in the full-screen display window to the free window Freeform, in response to the current display interface of the application being changed from the preset function interface to a non-preset function interface; wherein the non-preset function interface indicates that the application is not performing the preset function on the current display interface. monitoring whether a current display interface of the application running in the free window Freeform is a preset function interface; wherein the preset function interface indicates that the application is performing a preset function on the current display interface; determining the application running in the free window Freeform to have the triggering event that meets the preset condition occurred, in response to the current display interface of the application being the preset function interface; and restoring the application running in the full-screen display window to the free window Freeform, in response to the current display interface of the application being changed from the preset function interface to a non-preset function interface; wherein the non-preset function interface indicates that the application is not performing the preset function on the current display interface.