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
Description
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