Go to file
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
composite Switching from Automatic to Manual redirect needs to unmap/remap 2008-09-19 20:58:32 -07:00
config config: print error code if NIDR fails. 2008-09-26 09:33:39 +09:30
damageext Unifdef ISC 2008-10-02 17:03:54 -04:00
dbe xalloc+bzero -> xcalloc 2008-10-06 14:19:30 -04:00
dix Xi: check all handlers before applying property changes. 2008-10-13 13:50:40 +10:30
doc Document zap/-retro interaction more. 2008-10-07 20:40:15 -04:00
exa exa: don't call composite routines with no buffer. 2008-10-07 02:38:44 +10:00
fb Partially reverts commit 505c216d03. 2008-10-03 11:24:34 -07:00
glx xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
hw Restore xf86{Enable, Disable}GeneralHandler. 2008-10-12 16:08:26 -07:00
include Xi: check all handlers before applying property changes. 2008-10-13 13:50:40 +10:30
mi mieq: Backtrace when the queue overflows. 2008-10-10 16:33:57 -04:00
miext XQuartz: Some motion made towards supporting fullscreen. 2008-10-08 18:45:17 -07:00
os Move xorg_backtrace() up to the OS level so we can call it from DIX. 2008-10-10 16:28:10 -04:00
randr RANDR: Delivery output property events. 2008-10-06 12:22:57 -04:00
record Drop the never-called SkippedRequestCallback list. 2008-10-03 17:51:19 -04:00
render Build fix. 2008-10-06 18:47:06 -04:00
Xext xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
xfixes Unifdef ISC 2008-10-02 17:03:54 -04:00
Xi Xi: check all handlers before applying property changes. 2008-10-13 13:50:40 +10:30
xkb xkb: squash canonical types into explicit ones on core reconstruction. 2008-09-26 09:33:39 +09:30
.gitignore Add cscope files to .gitignore 2008-09-05 06:10:37 -07:00
acinclude.m4 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 2008-04-16 18:38:38 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Depend on xtrans >= 1.2.2 for TRANS_NOXAUTH 2008-10-07 10:07:03 -07:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am XTrap delenda est. 2008-06-25 09:52:36 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Include pciaccess in the xorg-server.pc Requires line. 2008-04-15 14:51:51 -07:00