主权项 |
1. A method, comprising:
at a device with a display and an input device:
displaying, on the display, a first window generated by a first application concurrently with a second window generated by a second application;receiving, with the input device, a first window-movement request associated with the second window;responsive to receiving the first window-movement request:
displaying, on the display, the second window adjoining the first window; andin accordance with a determination that a window linking criterion has been met, linking the first window and the second window,wherein the linking includes establishing a spatial relationship between the first window and the second window;while the first window is linked to the second window, receiving, with the input device, a second window-movement request associated with the first window;responsive to receiving the second window-movement request, moving the first window and the second window in accordance with the second window-movement request such that the spatial relationship is maintained;after moving the first window and the second window while maintaining the spatial relationship, receiving, with the input device, a third window-movement request; andresponsive to receiving the third window-movement request:
in accordance with a determination that the third window-movement request is associated with the first window, moving the first window and the second window in accordance with the third window-movement request such that the spatial relationship is maintained; andin accordance with a determination that the third window-movement request is associated with the second window:
unlinking the first window and the second window; andmoving the second window away from the first window such that the spatial relationship changes. |