Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WaylandBackend: Re-map toplevel upon becoming visible #1611

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

layercak3
Copy link

When becoming invisible, a NULL buffer is attached to the toplevel's surface which unmaps it. The compositor resets their state and the surface may also be considered unconfigured. Upon becoming visible, the surface must be re-mapped using the same process during initialization (commit without a buffer and wait for configure) before we begin attaching an actual buffer. The default properties should also be recovered.

Fixes: #1456
Fixes: #1451 (probably)
Fixes: #1488 (probably)
Fixes: #1533

When becoming invisible, a NULL buffer is attached to the toplevel's
surface which unmaps it. The compositor resets their state and the
surface may also be considered unconfigured. Upon becoming visible, the
surface must be re-mapped using the same process during initialization
(commit without a buffer and wait for configure) before we begin
attaching an actual buffer. The default properties should also be
recovered.

Fixes: ValveSoftware#1456
Fixes: ValveSoftware#1451 (probably)
Fixes: ValveSoftware#1488 (probably)
Fixes: ValveSoftware#1533
@layercak3
Copy link
Author

I was able to hit assert( !m_Planes[0].GetCurrentState() ); somewhere according to some recent coredump, so I need to change that at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant