xserver/dix
Peter Hutterer f3f6ea89aa Xi: check all handlers before applying property changes.
The current code exposes to inconsistent updates, i.e. if handler N succeeds
but handler N+1 fails in setting the property, an error is returned to the
client although parts of the server now behave as if the property change
succeeded.

This patch adds a "checkonly" parameter to the SetProperty handler. The
handlers are then called twice, once with checkonly set to TRUE.
On the checkonly run, handlers _MUST_ return error codes if the property
cannot be applied. Handlers are not permitted to actually apply the changes.
On the second run, handlers are permitted to apply property changes.
Errors codes returned on the second run are ignored.
2008-10-13 13:50:40 +10:30
..
BuiltInAtoms
Makefile.am Remove an utterly, utterly ancient changelog. 2008-10-03 11:58:20 -04:00
Xserver-dtrace.h.in
Xserver.d
access.c
atom.c
buildatoms
colormap.c
cursor.c
deprecated.c
devices.c Xi: check all handlers before applying property changes. 2008-10-13 13:50:40 +10:30
dispatch.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00
dispatch.h
dixfonts.c
dixutils.c Change 'remap' to 'map' in saveset functions/macros 2008-09-22 12:43:30 -07:00
events.c dix: remove duplicate code in ReleaseActiveGrabs 2008-10-13 13:50:40 +10:30
extension.c Fix AddExtension now that CloseDownProc can be NULL. 2008-07-25 10:05:30 -04:00
ffs.c Don't use our version of ffs() if the system has one 2008-09-22 02:49:15 +02:00
gc.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00
getevents.c mi: functions here are carrying 'time' without need. 2008-10-08 03:41:17 -03:00
globals.c Reinstate cursorScreenDevPriv 2008-10-07 10:36:12 -04:00
glyphcurs.c xalloc+bzero -> xcalloc 2008-10-06 14:19:30 -04:00
grabs.c
initatoms.c
main.c Remove unused wrapping for visual initialization. 2008-10-03 17:51:21 -04:00
pixmap.c
privates.c Array-index based devPrivates implementation. 2008-09-12 19:11:53 -04:00
property.c
protocol.txt
ptrveloc.c dix: remove misleading comment in ptrvelo.c 2008-08-08 16:19:20 +09:30
registry.c
resource.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00
selection.c
swaprep.c
swapreq.c
tables.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00
window.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00