Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
None
Description
X11 provides a mechanism for determining window visibility via VisibilityNotify event structure (XVisibilityEvent). In particular, the event returns a visibility state which can be any of: VisibilityUnobscured, VisibilityPartiallyObscured, or VisibilityFullyObscured.
Having this kind of information available for a window (ideally even provide a visible region) would allow for some optimization.