Screen Swap Window Relocation Method
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In the Windows operating system, swapping the primary screen between multiple displays does not automatically relocate windows, requiring users to manually move them, which is inconvenient.
Innovation Solution
A method that calculates the window movement distance based on the relative position between screens and adjusts the coordinates of windows to move them from the original primary screen to the new primary screen and from the original secondary screen to the new secondary screen during a screen swap, ensuring seamless window positioning.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the primary screen is swapped in the Windows operating system, then the task bar and coordinate system are correctly repositioned, but the windows remain on their original screens requiring manual relocation
Solution Approach 1:
The patent calculates the required window movement distance based on the relative position between screens before the swap operation is completed. By pre-calculating the movement parameters and applying them during the swap, windows are automatically relocated to their correct screens without requiring manual user intervention, thus resolving the contradiction between reliable task bar positioning and ease of window relocation
2Ease of operation
If manual window dragging is required after screen swapping, then window position can be adjusted, but user time and effort are wasted
Solution Approach 1:
The patent implements an automatic window relocation mechanism that performs the window movement task without user intervention. The system calculates movement distances, determines target screen positions, and executes window relocation automatically during the screen swap process. This self-service approach eliminates the need for manual window dragging, thereby reducing both user effort and time loss while maintaining proper window positioning
Data Source
AI summary
A method for swapping display contents between a first and a second screen. The first screen is a primary screen. A window is displayed on one of the first and the second screen. The method includes: calculating a window movement distance according to a relative position between the first and the second screen; performing swapping to set the second screen as the primary screen; obtaining a coordinate of the window after swapping; obtaining a first coordinate by adding the window movement distance to the coordinate of the window after swapping if the window is located in the first screen before swapping; obtaining a second coordinate by subtracting the window movement distance from the coordinate of the window after swapping if the window is located in the second screen before swapping; moving the window from one of the first and the second screen to the other.


