A window management method and computing device
By monitoring the position of the mouse pointer and displaying a unified status management control in the preset area, the problem of inconsistent button positions in different programming languages is solved, improving user experience and operation efficiency.
Patent Information
- Application Number
- CN202110670853.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-25
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2039-06-25
AI Technical Summary
In Linux operating system, the position and style of application window buttons in different graphical programming languages are not uniform, which leads to inconvenience in user operation, the threshold for shortcut keys is high and the lack of unified standards, which reduces the user experience.
Provide a window management method, monitoring the position of the mouse pointer in the screen, and displaying the preset style state management control when the pointer is in the preset area. Users can click to set the window status to achieve unified display position and style of the state management control .
Improve the efficiency and user experience of window operations, and through unified state management of control positions and styles, the complexity and error occurrence of user operations are reduced.
Smart Images

Figure CN113296651B_ABST
Abstract
Description
[0001] This application is a divisional application of invention patent application 2019105540530 filed on June 25, 2019 Technical Field
[0002] The present invention relates to the field of graphical interface display technology, and in particular to a window management method and computing equipment. Background Art
[0003] The application window is usually equipped with buttons such as minimize, maximize / restore, and close so that users can adjust the display status of the window on the desktop. In the Linux operating system, due to the different graphical programming languages used by the applications, different graphical programming languages have great differences in interface display, resulting in the display positions of the above buttons on different application windows being inconsistent, reducing the convenience and consistency of user window operation. For example, for applications written in GTK2 and traditional QT languages, the window buttons are usually located in the upper right or upper left corner of the window; while for applications written in GTK3 language, the window buttons are usually located in the middle of the left or middle of the right side of the window, and the styles and sizes of window buttons of different applications are not necessarily the same, resulting in the user needing to move the mouse to different areas for window operations for different applications, which is inconvenient and reduces the user experience.
[0004] One possible solution to the above problem is to use shortcut keys to operate windows. However, the use of shortcut keys has a certain threshold. Users need to learn and remember the corresponding shortcut key combinations, which is not easy to use. In addition, there is no unified standard for shortcut keys. For example, the shortcut key for closing a window may be CTRL+W, ALT+F4, etc. Most applications only support one shortcut key, and there is no strict consistency between them. In actual use, users may make wrong attempts and cause window operations to fail. Summary of the invention
[0005] To this end, the present invention provides a window management method and a computing device to try to solve or at least alleviate the above problems.
[0006] According to a first aspect of the present invention, there is provided a window management method, which is executed in a computing device, and the method comprises: when the window is in a maximized state, monitoring the position of a mouse pointer on the screen; when the mouse pointer is located in a preset area, displaying a state management control of a preset style in the preset area; and in response to a user clicking the state management control, setting the state of the window.
[0007] Optionally, in the window management method according to the present invention, the preset area is a rectangular area located in the upper right corner of the screen.
[0008] Optionally, in the window management method according to the present invention, the state management control includes at least one of a minimize button, a restore button, and a close button; accordingly, the state of the window includes at least one of minimize, restore, and close.
[0009] Optionally, in the window management method according to the present invention, the step of displaying a status management control of a preset style in a preset area when the mouse pointer is located in the preset area includes: when the time length for which the mouse pointer is located in the preset area is greater than a threshold, displaying a status management control of a preset style in the preset area.
[0010] Optionally, in the window management method according to the present invention, the step of displaying a state management control of a preset style in the preset area further includes: hiding the original state management control on the window.
[0011] Optionally, in the window management method according to the present invention, the step of setting the state of the window includes: determining a process corresponding to the window, and sending a state setting message to the process so that the process sets the window to a corresponding state.
[0012] Optionally, the window management method according to the present invention further includes the step of: hiding the state management control of the preset style when the mouse pointer moves out of the preset area.
[0013] Optionally, in the window management method according to the present invention, the step of hiding the state management control of the preset style further includes: displaying the original state management control on the window.
[0014] Optionally, in the window management method according to the present invention, it is executed by a window management program.
[0015] According to a second aspect of the present invention, there is provided a computing device, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions include a window management program, and when the window management program is read and executed by the processor, the computing device executes the window management method as described above.
[0016] According to a third aspect of the present invention, there is provided a readable storage medium storing program instructions, which, when read and executed by a computing device, enables the computing device to execute the window management method as described above.
[0017] According to the window management method of the present invention, when the window is in the maximized state, the position of the mouse pointer in the screen is monitored. When the user moves the mouse pointer to a preset area on the screen, a state management control of a preset style is displayed in the preset area. The user can set the state of the window accordingly by clicking the state management control. The window management method of the present invention realizes the unification of the display position (i.e., the preset area of the screen) and the display style (i.e., the preset style) of the state management control, thereby improving the operation efficiency and user experience.
[0018] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.
[0020] Figure 1 A schematic diagram of a computing device 100 according to one embodiment of the present invention is shown;
[0021] Figure 2 A flowchart of a window management method 200 according to an embodiment of the present invention is shown;
[0022] Figure 3 A schematic diagram of a desktop including windows A, B, and C according to an embodiment of the present invention is shown;
[0023] Figure 4 Shows Figure 3 The window stack corresponding to the desktop shown;
[0024] Figure 5 A schematic diagram showing a window B in a maximized state according to an embodiment of the present invention is shown;
[0025] Figure 6 A schematic diagram showing a mouse pointer being located in a preset area according to an embodiment of the present invention is shown;
[0026] Figure 7 A schematic diagram showing a state management control of displaying a preset style in a preset area according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0027] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0028] In view of the problems existing in the prior art, the present invention provides a window management method to unify the display position and display style of state management controls of different application programs, thereby improving window operation efficiency and user experience.
[0029] The window management method of the present invention is executed in a computing device. The computing device can be any device with storage and computing capabilities, such as a personal computer such as a desktop computer and a laptop computer, a computer with a high hardware configuration such as a workstation and a server, or a mobile terminal such as a mobile phone, a tablet computer, and a smart wearable device, but is not limited thereto.
[0030] Figure 1 FIG. 1 is a schematic diagram of a computing device 100 according to an embodiment of the present invention. It should be noted that: Figure 1 The computing device 100 shown is only an example. In practice, the computing device used to implement the window management method of the present invention can be any type of device, and its hardware configuration can be different from the above. Figure 1 The computing devices 100 shown are the same or may be different. In practice, the computing device used to implement the window management method of the present invention may be Figure 1 The hardware components of the computing device 100 shown are increased or deleted, and the present invention does not limit the specific hardware configuration of the computing device.
[0031] like Figure 1 As shown, in a basic configuration 102, computing device 100 typically includes system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between processor 104 and system memory 106.
[0032] Depending on the desired configuration, the processor 104 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 104 can include one or more levels of cache such as a first-level cache 110 and a second-level cache 112, a processor core 114, and registers 116. An example processor core 114 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 118 can be used with the processor 104, or in some implementations, the memory controller 118 can be an internal part of the processor 104.
[0033] Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, application 122 may be arranged to execute instructions on the operating system by one or more processors 104 using program data 124.
[0034] The computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus / interface controller 130. Example output devices 142 include a graphics processing unit 148 and an audio processing unit 150. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, touch input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 158. Example communication devices 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via a network communication link via one or more communication ports 164.
[0035] A network communication link can be an example of a communication medium. Communication media can generally be embodied as computer-readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be carried out in a manner that encodes information in the signal. As non-limiting examples, communication media can include wired media such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used herein can include both storage media and communication media.
[0036] In the computing device 100 according to the present invention, the application 122 includes a window management program 128. The window management program 128 is also called a window manager, which is used to manage windows, such as controlling the appearance of windows, the display position on the screen, and providing users with methods for operating windows. In an embodiment of the present invention, the window management program 128 includes instructions for executing the window management method 200 of the present invention, and the instructions can instruct the processor 104 to execute the window management method 200 of the present invention, so that the state management controls of different windows have a unified display position and display style, thereby improving the window operation efficiency and user experience.
[0037] Figure 2 FIG. 2 is a flowchart of a window management method 200 according to an embodiment of the present invention. The method 200 is executed in a computing device (such as the aforementioned computing device 100). Specifically, the method 200 is executed by a window management program (i.e., a window manager) in the computing device. Figure 2 As shown, the method 200 starts at step S210 .
[0038] In step S210, when the window is in the maximized state, the position of the mouse pointer on the screen is monitored.
[0039] The window in step S210 is the window currently being operated by the user, i.e., the currently active window. The window manager usually uses a window stack to manage the opened windows, wherein the currently active window is located at the top of the window stack. For example, in an X11 system, the currently active window, i.e., the window at the top of the window stack, can be determined by reading the _NET_ACTIVE_WINDOW attribute value of the RootWindow (root window).
[0040] After determining the current active window, the display state attribute value of the window is further read to determine the display state of the window. The display state of a window generally includes three states: maximized, minimized, and normal (the size of the window is between minimized and maximized).
[0041] When it is determined that the current active window is in a maximized state, the position of the mouse pointer in the screen is monitored. It should be noted that the mouse of the present invention can be implemented as a wired or wireless mouse device, or as a touch pad. According to an embodiment, the position of the mouse pointer in the screen can be obtained by calling a corresponding method, such as calling a GetCursorPos() function.
[0042] Then, in step S220, when the mouse pointer is located in the preset area, a state management control of a preset style is displayed in the preset area.
[0043] It should be noted that the preset area is a screen area pre-set by a person skilled in the art, which can be located at any position of the screen, and can also be of any shape and size. The present invention does not limit the position, shape and size of the preset area. According to one embodiment, the preset area is a rectangular area located in the upper right corner of the screen.
[0044] The preset style is a display style of the state management control preset by a person skilled in the art, and the display style includes, for example, the shape, size, icon color, background color and other attributes of the state management control, but is not limited thereto. A person skilled in the art can set the various attributes of the preset style by himself, and the present invention does not limit the specific setting of the preset style.
[0045] When the user moves the mouse pointer to the preset area, a state management control of a preset style is displayed in the preset area. The state management control is an interface for setting the display state of the window. The user can set the window to the corresponding display state by operating the state management control. The state management control can be, for example, a minimize button, a restore button, and a close button, but is not limited to this. Accordingly, the state of the window includes minimize, restore, close, etc. The user can set the window to the minimized state by clicking the minimize button; by clicking the restore button, the display size of the window can be restored to the size before maximization; by clicking the close button, the window can be closed.
[0046] According to an embodiment, when it is detected that the mouse pointer is located in a preset area, a state management control of a preset style is displayed in the preset area.
[0047] Considering that in actual use, the user may accidentally move the mouse pointer to the preset area without intending to adjust the display state of the window, that is, the user may accidentally trigger the display of the preset style state management control. Therefore, according to one embodiment, in order to avoid the user's erroneous operation of accidentally moving the mouse pointer to the preset area, when it is monitored that the mouse pointer is in the preset area, the state management control is not immediately displayed in the preset area, but the position of the mouse pointer is continuously monitored. When the time length of the mouse pointer in the preset area is greater than the threshold, it is considered that the user has the intention to adjust the display state of the window, and the preset style state management control is displayed in the preset area. The threshold can be set by a person skilled in the art, and the present invention does not limit the value of the threshold.
[0048] Depending on the application code, the application window may have a state management control originally set at a certain position. For example, for applications written in GTK2 and traditional QT languages, the state management control is usually located in the upper right or upper left corner of the window; for applications written in GTK3 languages, the state management control is usually located in the middle left or middle right of the window.
[0049] The state management control of the preset style in step S220 is triggered to be displayed by the window manager when the window is maximized and the mouse pointer is located in the preset area. In order to avoid the conflict between the state management control of the preset style in step S220 and the original state management control on the window, causing confusion and misunderstanding of the user, according to an embodiment, step S220 also includes: hiding the original state management control on the window, so that only one set of state management controls is displayed on the window, which is convenient for the user to understand and operate. Specifically, when the mouse pointer is located in the preset area, the two steps of displaying the state management control of the preset style and hiding the original state management control on the window can be performed simultaneously, or in any order (for example, first displaying the state management control of the preset style, then hiding the original state management control on the window; or first hiding the original state management control on the window, then displaying the state management control of the preset style), and the present invention does not limit the execution order of the two.
[0050] Then, in step S230, in response to a user's click operation on the state management control, the state of the window is set.
[0051] According to one embodiment, when the user clicks the state management control, the window manager determines the process corresponding to the window and sends a state setting message to the process so that the process sets the window to the corresponding state. For example, after the user clicks the close button, the state manager determines the current active window by reading the _NET_ACTIVE_WINDOW property value of the RootWindow and determines the process corresponding to the window. Subsequently, the window manager sends a window close message to the process so that the process closes the window.
[0052] According to an embodiment, the method 200 further includes step S240.
[0053] In step S240, when the mouse pointer moves out of the preset area, the state management control of the preset style is hidden. According to one embodiment, step S240 also includes: displaying the original state management control on the window. Specifically, when the mouse pointer moves out of the preset area, the steps of hiding the state management control of the preset style and displaying the original state management control on the window can be performed simultaneously, or in any order (for example, first hide the state management control of the preset style, then display the original state management control on the window; or first display the original state management control on the window, then hide the state management control of the preset style), and the present invention does not limit the execution order of the two.
[0054] According to the window management method of the present invention, when the window is in the maximized state, by moving the mouse pointer to the preset area on the screen, the state management control of the preset style can be triggered to display in the preset area. The user can set the state of the window accordingly by clicking the state management control. The window management method of the present invention realizes the unification of the display position (i.e., the preset area of the screen) and the display style (i.e., the preset style) of the state management control, thereby improving the operation efficiency and user experience.
[0055] The window management method of the present invention is described below in conjunction with an embodiment.
[0056] Figure 3 A schematic diagram of a desktop including three windows A, B and C is shown. It should be noted that for the sake of simplicity of the drawings and text descriptions, Figure 3 The desktop shown omits desktop elements such as the start menu, taskbar, and application shortcut icons. Figure 4 Shows Figure 3 The window stack corresponding to the desktop shown.
[0057] In this embodiment, the preset area 350 is set to be a rectangular area located at the upper right corner of the screen.
[0058] exist Figure 3 In the example, the positions of the state management controls (including the minimize button, maximize / restore button, and close button) of windows A, B, and C are different. The state management control 310 of window A is located at the upper right corner of the window, the state management control 320 of window B is located at the middle of the left side of the window, and the state management control 330 of window C is located at the middle of the right side of the window. In addition, the styles of the state management controls of the three windows, such as the color, size, background color, etc. of the controls, are not completely the same.
[0059] exist Figure 3In the desktop shown in FIG. 1 , window B is the window currently being operated by the user, that is, the currently active window. Figure 4 As shown, the current active window B is at the top of the window stack.
[0060] Figure 3 In the example, windows A to C are all in the restored state, and the window manager does not execute the window management method 200 of the present invention. That is, the window manager does not monitor the position of the mouse pointer 340 at this time, and no matter where the user moves the mouse pointer 340 on the screen, it will not trigger the preset area 350 to display the state management control of the preset style.
[0061] When the user clicks the maximize button in the state management control 320 of window B to maximize window B, Figure 5 As shown, only one window, Window B, will be displayed on the desktop, and the position of the state management control 320 of Window B remains unchanged, still located in the middle of the left side of the window.
[0062] When window B is maximized, the window manager starts to execute the window management method 200 of the present invention, specifically, executing step S210 to monitor the position of the mouse pointer 340 on the screen.
[0063] like Figure 5 As shown, when it is detected that the mouse pointer 340 is outside the preset area 350, the window B still displays the original state management control 320 located in the middle of the left side of the window. Figure 6 As shown in FIG. 1 , when the mouse pointer 340 is detected to be located in the preset area 350, the state management control 710 of the preset style is displayed in the preset area 350, and the state management control 320 originally located in the middle of the left side of window B is hidden. The display effect of the state management control 710 and the hiding effect of the state management control 320 are shown in FIG. Figure 7 shown.
[0064] exist Figure 7 In the example, the preset area 350 displays a state management control 710 of a preset style, and the original state management control 320 of window B is hidden. Figure 7 As shown, the state management control 710 includes a minimize button 712, a restore button 714, and a close button 716. The user can set the window B to minimize, restore, or close state by clicking each button. When the user moves the mouse pointer 340 out of the preset area 350, the state management control 710 will be hidden, and the original state management control 320 of the window B will be restored to display. The hiding effect of the state management control 710 and the display effect of the state management control 320 are as described above. Figure 5 shown.
[0065] A11. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device executes the window management method according to any one of claims 1 to 9.
[0066] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0067] In the case where the program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code; the processor is configured to execute the window management method of the present invention according to the instructions in the program code stored in the memory.
[0068] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0069] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.
[0070] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0071] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0072] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0073] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0074] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0075] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.
[0076] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0077] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative and not restrictive with respect to the scope of the present invention, and the scope of the present invention is defined by the appended claims.
Claims
1. A window management method, executed in a window manager of a computing device, the method comprising: Determine the currently active window from the window stack corresponding to the desktop; When the current active window is in a maximized state, monitoring the position of the mouse pointer on the screen; When the mouse pointer is located in a preset area, a state management control of a preset style is displayed in the preset area, and the original state management control on the current active window is hidden. The state management control of the preset style is different from the original state management control. The original state management control of different application windows can be in a variety of positions, and the style is not necessarily the same. The preset area is a rectangular area located in the upper right corner of the screen; In response to a user clicking operation on the state management control, setting the state of the window; Wherein, the state management control includes at least one of a minimize button, a restore button, and a close button; Accordingly, the state of the window includes at least one of minimized, restored, and closed.
2. The method of claim 1, wherein: The step of displaying a state management control of a preset style in the preset area when the mouse pointer is located in the preset area includes: When the time length of the mouse pointer being in the preset area is greater than a threshold, a state management control of a preset style is displayed in the preset area.
3. The method according to any one of claims 1 to 2, wherein: The step of setting the state of the window comprises: The process corresponding to the window is determined, and a state setting message is sent to the process so that the process sets the window to a corresponding state.
4. The method according to claim 1, further comprising the steps of: When the mouse pointer moves out of the preset area, the state management control of the preset style is hidden.
5. The method of claim 4, wherein: The step of hiding the state management control of the preset style also includes: Display the original state management controls on the window.
6. A computing device comprising: at least one processor; and A memory storing program instructions, wherein the program instructions include a window manager; When the window management program is read and executed by the processor, the computing device executes the window management method according to any one of claims 1 to 5.
7. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device executes the window management method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Display control device, thin-client system, display control method, and recording medium
CN104704464A
Controlling application windows with a hover pop-up panel
CN107710087A
