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

Fix fbconfig lookup #104

Merged
merged 3 commits into from
Feb 3, 2019
Merged

Fix fbconfig lookup #104

merged 3 commits into from
Feb 3, 2019

Conversation

yshui
Copy link
Owner

@yshui yshui commented Feb 3, 2019

No description provided.

@yshui yshui force-pushed the fix-fbconfig branch 2 times, most recently from f78ee24 to 0f02964 Compare February 3, 2019 18:24
@yshui yshui changed the title [WIP] Fix fbconfig lookup Fix fbconfig lookup Feb 3, 2019
@yshui yshui force-pushed the fix-fbconfig branch 4 times, most recently from 3a7a16e to 1fa2d3e Compare February 3, 2019 18:36
Background: To bind a Xorg window content to a OpenGL FBConfig, which
has to match the color format the Xorg window is using.

Previously, compton just find a FBConfig that has the same depth. This
led to chjj/compton#477, which has been fixed by a ugly hack.

The commit refactor the lookup mechanism to take as much into
consideration as we reasonably can. Hopefully preventing similar
breakages in the future.

Also, some code sharing between the old and new glx backend.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
@yshui yshui merged commit 6a5ad60 into next Feb 3, 2019
@yshui yshui deleted the fix-fbconfig branch February 3, 2019 18:44
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.

None yet

1 participant