xserver-multidpi/hw/xfree86
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
..
common Move each screen's x/y origin into ScreenRec. 2010-06-03 14:03:23 -07:00
ddc Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
dixmods Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00
doc Remove obsolete reference to README.DRI in xorg.conf.man 2010-05-23 21:20:29 -07:00
dri Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00
dri2 composite: use config notify hook to do pixmap resize. 2010-06-03 21:26:24 -07:00
exa Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
fbdevhw Install fbdevhw module in normal module directory instead of linux/ 2010-06-03 07:29:50 -07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 xfree86/int10/helper_mem: Fix log message. 2010-05-26 11:10:55 -07:00
loader Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
modes Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00
os-support xfree86: bus: remove unused headers 2010-05-24 19:10:51 +03:00
parser xfree86: check for NULL pointer before dereferences it in parser code 2010-04-21 18:07:17 +03:00
ramdac Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
shadowfb Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
utils Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
vbe xfree86: bus: remove unused headers 2010-05-24 19:10:51 +03:00
vgahw Quit using clientErrorValue in dix/colormap.c. 2010-05-13 17:14:07 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00