use proper bitmap_pad in XCreateImage#8681
Conversation
|
Can one of the admins verify this patch? |
|
@phsft-bot build |
|
Starting build on |
jalopezg-git
left a comment
There was a problem hiding this comment.
Just a minor change, for the sake of readability.
Co-authored-by: Javier Lopez-Gomez <[email protected]>
to be more consistent
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
Failing tests: |
|
Failing test is unrelated (it's happening in other PRs too) |
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
|
|
@couet any feedback on this PR? |
|
I already approved it |
|
@phsft-bot build |
|
Starting build on |
|
Build failed on mac11.0/cxx17. Failing tests: |
This Pull request:
Changes or fixes:
XCreateImage bitmap_pad argument was not being set properly. It caused problems with depths of e.g. 30, see #8086 (comment) by @juw
Now it matches the behaviour of:
https://github.com/root-project/root/blob/master/graf2d/x11/src/GX11Gui.cxx#L2612
https://github.com/root-project/root/blob/master/graf2d/asimage/src/libAfterImage/asvisual.c#L1549
Checklist:
This PR fixes #8086