Search

CN-121996133-A - Wayland split screen display window auxiliary method, wayland split screen display window auxiliary device, terminal and storage medium

CN121996133ACN 121996133 ACN121996133 ACN 121996133ACN-121996133-A

Abstract

The invention discloses Wayland split-screen display window auxiliary method, device, terminal and storage medium, which comprise the steps of determining an area which is not split-screen display according to a window which is not split-screen display when a split-screen auxiliary condition is triggered, setting an ideal split-screen area according to the area of the window which is not split-screen display, drawing a rectangular frame in the ideal split-screen area, respectively creating corresponding attribute items for all the windows which are not split-screen display, creating a display subtree for the rectangular frame, hanging the attribute items as child nodes on the display subtree, receiving a viewing operation, converting attribute item information of the child nodes from an invisible state to a visible state for display, receiving a selecting operation, determining the window which is not split-screen display according to the attribute item information corresponding to the selecting operation, distributing the rectangular frame to the window which is not split-screen display, and returning to the step of determining the area which is not split-screen display until the area which is not split-screen display does not meet the requirement of splitting-screen display again or the window which is not split-screen display.

Inventors

  • YUAN YE
  • WANG YONGJUN
  • ZHOU LEI
  • CHEN LINXIANG
  • Yi Zixiao
  • XU RUI
  • LI HONGTAO

Assignees

  • 麒麟软件有限公司

Dates

Publication Date
20260508
Application Date
20260331

Claims (10)

  1. 1. A Wayland split-screen display window assistance method, comprising: when the split screen auxiliary condition is triggered, determining an area which is not displayed by the split screen according to the window displayed by the split screen; setting an ideal split screen area according to the area of the non-split screen display window, and drawing a rectangular frame in the ideal split screen area; Respectively creating corresponding attribute entries for all windows which are not displayed in a split screen mode; creating a display subtree for the rectangular frame, and hanging the attribute item on the display subtree as a child node; receiving a checking operation, and converting the attribute item information of the child node from an invisible state to a visible state for display; receiving a selection operation, determining a window which is not displayed in a split mode according to attribute item information corresponding to the selection operation, and distributing the rectangular frame to the window which is not displayed in the split mode; And returning to the step of determining the area which is not displayed by the split screen according to the window which is displayed by the split screen when the split screen auxiliary condition is triggered until the area which is not displayed by the split screen does not meet the requirement of splitting the screen again or the window which is not displayed by the split screen does not exist.
  2. 2. The method of claim 1, wherein the split-screen assist condition comprises: The current screen has an area which is not displayed by the split screen, and a window which is in an open state and supports the split screen exists on the desktop.
  3. 3. The method of claim 1, wherein creating a display sub-tree for the rectangular box, and hanging the attribute entry as a child node on the display sub-tree, comprises: creating an auxiliary tree in a SWITCHER layer, and creating a display subtree of the non-split display window area in the auxiliary tree; And hanging the attribute item on the display subtree as a child node.
  4. 4. The method of claim 1, wherein the receiving a view operation comprises: And receiving the selection operation of the peripheral equipment on the rectangular frame.
  5. 5. The method of claim 1, wherein the receiving a selection operation comprises: receiving an up-down key operation input by a keyboard; correspondingly, the determining the window which is not displayed in a split screen according to the attribute item information corresponding to the selection operation comprises the following steps: Moving the attribute item information up and down according to the key operation of the up and down keys, and determining a window which is not displayed in a split screen according to the key operation of the confirmation key; When a key canceling operation of the keyboard is received, converting attribute item information into an invisible state; Or receiving a wheel operation of the mouse; correspondingly, the determining the window which is not displayed in a split screen according to the attribute item information corresponding to the selection operation comprises the following steps: moving the attribute item information according to the operation of a roller of a mouse, and determining a window which is not displayed in a split screen according to the hovering operation of the mouse; deleting the attribute item information corresponding to the current display after receiving the click operation of the mouse cancel button, and closing the corresponding non-split screen display window; And when the clicking operation outside the display range of the attribute item information is received, exiting the split screen display window auxiliary method.
  6. 6. The method of claim 5, wherein the method further comprises: The view operation and the select operation are associated with the property entry display using a hook function.
  7. 7. The method of claim 1, wherein determining the area not displayed by the split screen according to the window displayed by the split screen comprises: calculating an area without split screen by utilizing a window which is displayed on the current top layer of the screen in split screen and a screen display area, generating a starting point coordinate, a length and a width of the area to be split screen by utilizing the size of the window which is displayed on split screen, storing the starting point coordinate, the length and the width to be split screen into a boundary frame attribute for storing, and then drawing a rectangular frame with the size of the boundary frame for displaying.
  8. 8. Wayland split-screen display window auxiliary device, characterized by comprising: The determining module is used for determining an area which is not displayed by the split screen according to the window displayed by the split screen when the split screen auxiliary condition is triggered; the drawing module is used for setting an ideal split screen area according to the area of the non-split screen display window, and drawing a rectangular frame in the ideal split screen area; The separate creating module is used for respectively creating corresponding attribute items for all windows which are not displayed in a split screen mode; the mounting module is used for creating a display subtree for the rectangular frame and mounting the attribute item on the display subtree as a child node; The conversion module is used for receiving the check operation, converting the attribute item information of the child node from an invisible state to a visible state and displaying the attribute item information; the allocation module is used for receiving the selection operation, determining a window which is not displayed in a split screen mode according to attribute item information corresponding to the selection operation, and allocating the rectangular frame to the window which is not displayed in the split screen mode; and the return module is used for returning to the step of determining the area which is not displayed by the split screen according to the window which is displayed by the split screen when the split screen auxiliary condition is triggered until the area which is not displayed by the split screen does not meet the requirement of splitting the screen again or the window which is not displayed by the split screen does not exist.
  9. 9. A terminal, comprising: One or more processors; Storage means for storing one or more programs, The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the Wayland split-screen display window-assistance method as recited in any one of claims 1-7.
  10. 10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the Wayland split-screen display window-assistance method of any one of claims 1-7.

Description

Wayland split screen display window auxiliary method, wayland split screen display window auxiliary device, terminal and storage medium Technical Field The invention relates to the technical field of computer graphic display, in particular to a Wayland split-screen display window auxiliary method, a Wayland split-screen display window auxiliary device, a terminal and a storage medium. Background Along with the evolution of computer graphic display technology, wayland protocol is the first choice for replacing the traditional X11 display server in open source systems such as Linux due to its excellent performance in terms of high resolution and high refresh rate and a simple and efficient architecture. The Wayland synthesizer is used as a core display manager of the system and is responsible for managing the synthesis, rendering and interaction of windows. In terms of window management, the prior art generally manages window interfaces according to different levels such as background, bottom, top, overlay through wlr _layer_shell and other protocols so as to control the depth sequence of the Z axis. In carrying out the present invention, the inventors have discovered that in a stacked window manager environment, when a user wishes to tile multiple application windows on a screen in split-screen form, there is a lack of efficient accessibility. The existing method generally requires a user to manually perform a series of complicated operations, namely, firstly, the user needs to find a target window through task switching or mouse clicking and activate the target window, and then, the user can manually trigger split screens and adjust the size of the window by dragging the window to the edge of the screen or relying on a specific keyboard shortcut key combination, so that one window can be placed in an expected split screen area. After the primary split screen operation, if the screen display area is not fully paved, and if the user wants to continue filling the remaining area, the above-mentioned complete flow of searching window-activating window-dragging or triggering split screen must be repeated. Under the complex working scene that the number of open windows of the desktop is large and a plurality of split screen areas need to be planned, the repeated and indirect operation mode obviously reduces the efficiency of window management, increases the operation burden of a user and influences the continuity and office efficiency of the whole workflow. On the split screen display function of improving the multitasking parallel processing efficiency, the current Wayland synthesizer ecosystem has obvious user experience short boards. Disclosure of Invention The embodiment of the invention provides a Wayland split-screen display window auxiliary method, a Wayland split-screen display window auxiliary device, a terminal and a storage medium, which are used for solving the technical problem that the split-screen display function operation is complicated in the lifting of the multi-task parallel processing efficiency by utilizing a Wayland synthesizer in the prior art. In a first aspect, an embodiment of the present invention provides a Wayland split-screen display window assistance method, including: when the split screen auxiliary condition is triggered, determining an area which is not displayed by the split screen according to the window displayed by the split screen; setting an ideal split screen area according to the area of the non-split screen display window, and drawing a rectangular frame in the ideal split screen area; Respectively creating corresponding attribute entries for all windows which are not displayed in a split screen mode; creating a display subtree for the rectangular frame, and hanging the attribute item on the display subtree as a child node; receiving a checking operation, and converting the attribute item information of the child node from an invisible state to a visible state for display; receiving a selection operation, determining a window which is not displayed in a split mode according to attribute item information corresponding to the selection operation, and distributing the rectangular frame to the window which is not displayed in the split mode; And returning to the step of determining the area which is not displayed by the split screen according to the window which is displayed by the split screen when the split screen auxiliary condition is triggered until the area which is not displayed by the split screen does not meet the requirement of splitting the screen again or the window which is not displayed by the split screen does not exist. In a second aspect, an embodiment of the present invention further provides a Wayland split-screen display window auxiliary device, including: The determining module is used for determining an area which is not displayed by the split screen according to the window displayed by the split screen when the split screen auxiliary condition is trigg