Skip to content
Commit cd5076a5 authored by Nikolay Martynov's avatar Nikolay Martynov Committed by Adam Jackson
Browse files

XShmGetImage: fix censoring

It looks like offsets calculated during image censoring are wrong.
This results in black (empty) images returns.

This fix is very similar to 6c6f09aa
that was applied to XGetImage

Visually this fixes chromium/firefox window sharing in multiscreen
configurations - without this patch most of the windows on 'secodnary'
screens are black.

This also should fix https://bugs.freedesktop.org/show_bug.cgi?id=101730

.

Signed-off-by: default avatarNikolay Martynov <mar.kolya@gmail.com>
Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
(cherry picked from commit 885636b7)
parent a6776111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment