diff options
author | Adam Jackson <ajax@redhat.com> | 2013-11-07 13:59:30 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2013-12-09 13:20:36 -0500 |
commit | 1dd839a425adc6e5a1dc377003ed86a374d81f0b (patch) | |
tree | 28707bd90d730417aee5f06eebf364ce702cff67 /.gitignore | |
parent | 8dbe456abae1a32fb6c5c74fa456bc7301cccabe (diff) |
composite: Fix COW creation for Xinerama (v2)
Say you have two 800x600 screens left/right of each other. A window
that's 200x200 at +700+0 in protocol coordinate space will appear to be
at -100+0 in the coordinate space of the right hand screen. Put another
way: windows are in the coordinate space of their root window pixmap.
We weren't doing this translation for the COW, so when rendering came in
to it you'd see the top-left chunk of the COW on all screens. Cool
effect and all, but wrong.
v2: Only translate when Xinerama is active [keithp]
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions