xserver-multidpi/composite
Adam Jackson 1dd839a425 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>
2013-12-09 13:20:36 -05:00
..
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
compalloc.c damage: Simplify DamageUnregister 2013-09-10 14:28:35 -04:00
compext.c Stop leaking overlayWin in PanoramiXCompositeGetOverlayWindow error paths 2013-02-05 18:30:13 -08:00
compinit.c composite: Don't double-redirect if someone asks for backing store twice 2013-12-09 13:20:36 -05:00
compint.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
compositeext.h Export CompositeClientWindowType 2012-04-19 15:34:32 -05:00
compoverlay.c composite: Fix COW creation for Xinerama (v2) 2013-12-09 13:20:36 -05:00
compwindow.c Fix more poorly indented/wrapped comments & code 2012-07-09 19:14:50 -07:00