forked from genodelabs/genode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wm/decorator/layouter: window clipping
This patch changes the window-layout format to support the rectangular clipping of windows at screen boundaries. The new <boundary> node defines the clipping boundary for the windows listed within the node. Boundaries are expected to be disjoint. In the example below, the "vbox" window is placed partially outside the screen area of "screen_2". <window_layout> <boundary name="screen_1" xpos="0" ypos="0" width="640" height="480"> <window id="1" title="launchpad" xpos="10" ypos="140" width="400" height="> </boundary> <boundary name="screen_2" xpos="640" ypos="0" width="800" height="600"> <window id="2" title="vbox" xpos="520" ypos="52" width="800" height="600"> <window id="3" title="terminal" xpos="650" ypos="72" width="500" height="400"> </boundary> </window_layout> The layouter uses boundaries to restrict the visiblilty of windows to their respective target areas. Until now, Sculpt relied on the fact that the window-layout ROM had the same structure as the resize-request ROM. With the addition of the <boundary> nodes, this is no longer the case. Therefore, the Sculpt manager generates a dedicated resize-request ROM now. Issue genodelabs#5390
- Loading branch information
Showing
19 changed files
with
591 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.