xserver-multidpi/hw
Dave Airlie 959a1eaf1c composite: use config notify hook to do pixmap resize.
Since reallocating the backing pixmap can fail, we need to try and do
it before any other side effects of reconfiguring the window happen.

This changes the ConfigNotify hook to return status, and moves the
composite window reconfiguration wrappers to ConfigNotify. They all
basically did the same thing, so we can drop the MoveWindow,
ResizeWindow, ChangeBorderWidth wrappers, and allow ConfigNotify to do
all the work. If reallocation fails we fail before we send any
confiureNotify events, or enter the area we can't recover from.

The only place we now enforce 32k limits are in EXA/UXA/fb, so drivers
that don't use this should probably deal with it in their pixmap
allocate if they don't already.

This also breaks ABI, so we need an alternate fix for older servers,
working on the X server makes me realise why I'm a kernel hacker.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-03 21:26:24 -07:00
..
dmx Delete XineramaScreenRegions cache. 2010-06-03 14:03:23 -07:00
kdrive Move each screen's x/y origin into ScreenRec. 2010-06-03 14:03:23 -07:00
vfb vfb: Remove dead variable and header file 2010-05-21 12:49:46 -07:00
xfree86 composite: use config notify hook to do pixmap resize. 2010-06-03 21:26:24 -07:00
xnest Only deal with input code when changing the input shape. 2010-06-02 21:11:31 -07:00
xquartz Move each screen's x/y origin into ScreenRec. 2010-06-03 14:03:23 -07:00
xwin Move each screen's x/y origin into ScreenRec. 2010-06-03 14:03:23 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00