1. A method, comprising: providing a device having at least a first display; providing a computer system having a second display; docking the device to the computer system to form a unified system; generating a unified desktop for the unified system, wherein the unified desktop includes a first portion associated with the first display of the device and a second portion associated with the second display of the computer system; in response to the docking, executing a first docking rule, wherein the first docking rule governs a display of a first application window after the docking; determining if the first application window was displayed, before the docking, on the first display of the device; in response to the docking, executing a second docking rule, wherein the second docking rule is associated with changes in the display of a second application window after docking the device; determining if the second application window was displayed, during a previous docking, on the second display of the computer system; and in response to determining that the second application window was displayed on the second display of the computer system during the previous docking, again displaying the second application window on the second display of the computer system.