Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xlib] Check integer translation for XCopyArea.
A precondition for using the core XCopyArea protocol is that the source attributes contain only integer translations. However, we failed to apply any integer translations from the source matrix to the XCopyArea offsets. This worked prior to 5b97ee6 as _cairo_pattern_acquire_surface_for_surface() was careful to only generate an identity matrix if the pattern matrix only contained an integer translation (and thus we would use XCopyArea in the xlib backend).
- Loading branch information