Skip to content

Conversation

@stefan11111
Copy link
Contributor

If the parent window has a different depth (which means pWin can't have valid contents yet) and pWin has effective background other than None.

Ported https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2092 from Xorg.

@guiodic If you still have an Xlibre machine to test, I'm guessing the lighter version of this, https://gitlab.freedesktop.org/xorg/xserver/-/commit/7e6c55cc9f5f26ef8afa74b2e86e883ce2ec1163#note_3148366 , still breaks, as described in https://gitlab.freedesktop.org/xorg/xserver/-/commit/7e6c55cc9f5f26ef8afa74b2e86e883ce2ec1163#note_3148404 ?

@metux I wonder what exact circumstances are occurring here, such that not populating a pixmap with effective background not None leads to breakages? Do you have an idea what cases other than effective background None might need these copies?

Michel Dänzer added 2 commits December 12, 2025 02:47
…ely necessary"

This reverts commit X11Libre@2ab2454

In the pParent->drawable.depth == pWin->drawable.depth case, pWin may
already have valid contents, which need to be copied to the new pixmap.
If the parent window has a different depth (which means pWin can't have
valid contents yet) and pWin has effective background other than None.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant