Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

backend/x11: pause rendering loop when completely hidden #2675

Open
@emersion

Description

@emersion

We could stop sending frame events to the compositor when the X11 window is completely hidden.

I'm not sure how we can detect that. Maybe we can detect when we are minimized with Map/Unmap?

glfw seems to be getting the width/height from XGetWindowAttributes, and glfw apps can stop rendering if the size is zero.


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2675

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions