forked from SerenityOS/serenity
-
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.
WindowServer: Improve occlusion calculations
This solves two problems: * A window was sometimes deemed occluded when the window rect was entirely covered by other rectangles, transparent or opaque. This caused a window to stop rendering even if a small portion was still visible, e.g. when it was merely covered by a window shadow. * The window switcher is interested in window updates even when a window is entirely covered by another one, or when it is on another desktop. This forces windows to be not occluded in those cases.
- Loading branch information
1 parent
c06e765
commit 6ec35c9
Showing
2 changed files
with
26 additions
and
47 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