fixes: Fix PanoramiXSetPictureClipRegion for root windows (v2)
authorAdam Jackson <ajax@redhat.com>
Mon, 4 Nov 2013 22:49:33 +0000 (17:49 -0500)
committerAdam Jackson <ajax@redhat.com>
Mon, 9 Dec 2013 18:20:36 +0000 (13:20 -0500)
commit5c10c7ea2129b70015e745523918d143cc29318d
treebaccf71a4e920783bf33c24180fd96d4f83336a5
parent1dd839a425adc6e5a1dc377003ed86a374d81f0b
fixes: Fix PanoramiXSetPictureClipRegion for root windows (v2)

Root windows in Xinerama are in the coordinate space of their root
window pixmap, not in protocol space.  This fixes 'xcompmgr -n' when
Xinerama is active.

v2: Only translate for root windows, since the clip origin is
drawable-relative.

Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
xfixes/region.c