xserver-multidpi/Xi
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
..
allowev.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
allowev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chaccess.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
chaccess.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
chdevcur.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
chdevcur.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
chdevhier.c Xi: don't include client-side headers. 2008-09-19 08:45:43 +09:30
chdevhier.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
chgdctl.c Xi: ChangeDeviceControl presence events should set the appropriate devchange. 2008-07-29 10:00:01 +09:30
chgdctl.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgfctl.c XACE: Change access modes for some device-related requests. 2008-02-13 20:20:49 -05:00
chgfctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
chgkbd.c Input: Return errors to the dispatcher instead of sending them ourself. 2007-09-26 07:26:59 -04:00
chgkbd.h Xi: disallow changing core keyboard and pointer 2006-10-29 03:43:34 +03:00
chgkmap.c XACE: Change access modes for some device-related requests. 2008-02-13 20:20:49 -05:00
chgkmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgprop.c Fix for CVE-2007-6427 - Xinput extension memory corruption. 2008-01-17 15:27:34 +01:00
chgprop.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgptr.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
chgptr.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
closedev.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
closedev.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
devbell.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
devbell.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
exevents.c Xi: don't memcpy the KeyClassRec from SD to MD. #16167 2008-10-10 16:58:08 +10:30
exglobals.h Backport device properties to XI 1.5 instead of XI 2.0 2008-08-15 14:52:13 +09:30
extgrbdev.c Xext: store the GenericMasks in the resource system. 2008-07-10 16:02:55 +09:30
extgrbdev.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
extinit.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00
getbmap.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getbmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getcptr.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
getcptr.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
getdctl.c Xi: specify correct struct when calculating size of GetDeviceControl reply. 2007-12-19 18:18:10 +10:30
getdctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
getfctl.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getfctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
getfocus.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getfocus.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getkmap.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getkmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getmmap.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getmmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getprop.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getprop.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getselev.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
getselev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getvers.c Revert "Xi: disable XI for clients < XI 2.0" 2008-04-26 19:37:57 +09:30
getvers.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdev.c Merge branch 'master' into mpx 2008-01-26 13:55:07 +10:30
grabdev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdevb.c Merge branch 'master' into mpx 2008-01-26 13:55:07 +10:30
grabdevb.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdevk.c Merge branch 'master' into mpx 2008-01-26 13:55:07 +10:30
grabdevk.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
gtmotion.c Fix "warning: unused variable `tsize'". 2008-06-13 22:47:10 -04:00
gtmotion.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
listdev.c Xi: stop excessive use of _X_EXPORT. 2008-04-29 15:24:55 +09:30
listdev.h Xi: make SizeDeviceInfo public and re-use from CreateClassesChangedEvent. 2008-02-18 18:42:46 +10:30
Makefile.am Xi: add support for input device properties. 2008-07-10 16:28:34 +09:30
opendev.c Xi: Only return VCP, VCK and floating SDs to Xi 1.x clients. 2008-04-28 10:26:01 +09:30
opendev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
qryacces.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
qryacces.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
querydp.c Xi: return the state from the correct keyboard in QueryDevicePointer. 2008-08-12 20:42:08 +09:30
querydp.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
queryst.c input: fix up usage of button->down, used to be a bitmask, is now an array. 2008-06-18 10:17:08 +09:30
queryst.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
selectev.c input: for non-device events (e.g. DevicePresence) use MAX_DEVICES as id. 2008-06-26 12:53:05 +09:30
selectev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
sendexev.c Merge branch 'master' into mpx 2008-01-26 13:55:07 +10:30
sendexev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setbmap.c XACE: Change access modes for some device-related requests. 2008-02-13 20:20:49 -05:00
setbmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setcptr.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
setcptr.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
setdval.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
setdval.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setfocus.c xace: add new hooks + access controls: XInput extension. 2007-09-28 08:02:00 -04:00
setfocus.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setmmap.c XACE: Change access modes for some device-related requests. 2008-02-13 20:20:49 -05:00
setmmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setmode.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
setmode.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
stubs.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ungrdev.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ungrdev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
ungrdevb.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ungrdevb.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
ungrdevk.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ungrdevk.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
warpdevp.c Shape extension is built-in and mandatory. 2008-07-24 15:46:08 -04:00
warpdevp.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
xiproperty.c Xi: check all handlers before applying property changes. 2008-10-13 13:50:40 +10:30
xiproperty.h Xi: remove configure/query device property calls. 2008-09-26 13:32:05 +09:30
xiselev.c Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30
xiselev.h Replace UniSA with full Uni name in Author affiliation. 2008-05-21 21:51:27 +09:30