xserver/dix
Eamon Walsh c1c7feec90 xace: Fake return values on denials in input polling requests.
Instead of returning BadAccess when "read" permission is denied
on a device, falsify the device state (buttons down, keys pressed).
This is nicer to applications, but may still have undesired side
effects.  The long-term solution is not to use these requests in
event-driven code!

Requests affected: QueryPointer, QueryKeymap, XiQueryDevice.

[Backport to 1.6]

Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Signed-off-by: Keith Packard <keithp@keithp.com>
2009-10-27 14:27:47 -07:00
..
atom.c Small static cleanups on dix/ 2007-11-15 17:01:33 -05:00
buildatoms XFree86 4.3.0.1 2003-11-14 16:49:22 +00:00
BuiltInAtoms R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
colormap.c Bug #10464: Set pixel value to 0 before FindColor() 2008-02-29 16:42:04 -05:00
cursor.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-07-26 13:56:57 -07:00
deprecated.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-07-26 13:56:57 -07:00
devices.c xace: Fake return values on denials in input polling requests. 2009-10-27 14:27:47 -07:00
dispatch.c Ensure that rotation updates happen frequently 2009-08-25 20:12:17 -07:00
dispatch.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dixfonts.c dix: append "built-ins" to the font path in SetDefaultFontPath 2009-09-22 12:14:56 -07:00
dixutils.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-07-26 13:56:57 -07:00
enterleave.c dix: move focus handling into enterleave.c. 2009-01-11 15:56:28 -08:00
enterleave.h dix: move focus handling into enterleave.c. 2009-01-11 15:56:28 -08:00
events.c xace: Fake return values on denials in input polling requests. 2009-10-27 14:27:47 -07:00
extension.c Move EXTENSION_BASE and EXTENSION_EVENT_BASE to misc.h. 2008-10-31 17:09:13 +10:30
ffs.c Don't use our version of ffs() if the system has one 2008-09-22 02:49:15 +02:00
gc.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-07-26 13:56:57 -07:00
getevents.c Don't send events through the master if the device has SendCoreEvents off. 2009-09-27 19:08:14 -07: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 Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
initatoms.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
main.c XQuartz: mieq: Wait for the server to finish initializing before letting other threads mieqEnqueue 2009-01-30 16:44:49 -08:00
Makefile.am dix: move Enter-Leave related functions into new enterleave.c 2008-11-25 09:21:45 +10:00
pixmap.c On second thought, revert that, it'll make large pixmaps painfully slow. 2008-02-29 16:45:11 -05:00
privates.c Array-index based devPrivates implementation. 2008-09-12 19:11:53 -04:00
property.c Merge branch 'master' into dcdc_rework 2008-04-07 07:56:41 +09:30
protocol.txt Add RandR 1.3 requests to protocol.txt 2009-05-08 12:33:16 -07:00
ptrveloc.c dix: memset DeviceVelocityPtr to zero. 2008-11-21 09:04:51 +10:00
registry.c Fix a leak in the code that parses the protocol names. 2008-06-24 22:00:55 -04:00
resource.c Replace dixLookupResource by dixLookupResourceBy{Type,Class} 2009-07-26 13:56:57 -07:00
selection.c Merge branch 'master' into dcdc_rework 2008-04-07 07:56:41 +09:30
swaprep.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
swapreq.c dix: remove 'register' keyword for all variables. 2007-03-08 17:50:25 +10:30
tables.c Loader: Unexport a handful of consumerless symbols from dixsym. 2008-10-06 16:18:21 -04:00
window.c Do not reset lastDeviceEventTime when we do dixSaveScreens 2009-08-25 20:12:16 -07:00
Xserver-dtrace.h.in Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00
Xserver.d Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00