Alan Coopersmith
dccb0858d7
Core events: invert check for permission to copy key states
...
Always initialize to zero, and then if permission is granted, copy
the current key state maps. Use memcpy instead of memmove for the
copy, since we're always copying to a newly allocated event on the
stack, so guaranteed not to overlap with the device map structure.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Tested-by: Daniel Stone <daniel@fooishbar.org>
2012-07-09 19:14:50 -07:00
..
.gitignore
dix and os: gitignore dix.O and os.O
2011-09-23 17:14:47 -07:00
atom.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
buildatoms
BuiltInAtoms
colormap.c
Fix more poorly indented/wrapped comments & code
2012-07-09 19:14:50 -07:00
cursor.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
devices.c
Remove unneccesary casts from WriteToClient calls
2012-07-09 19:12:56 -07:00
dispatch.c
Remove unneccesary casts from WriteToClient calls
2012-07-09 19:12:56 -07:00
dispatch.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixfonts.c
Remove unneccesary casts from WriteToClient calls
2012-07-09 19:12:56 -07:00
dixutils.c
dix: introduce gpu screens. (v5)
2012-07-06 10:35:13 +01:00
enterleave.c
Fix more poorly indented/wrapped comments & code
2012-07-09 19:14:50 -07:00
enterleave.h
dix: Move DeviceFocusEvent from Xi into enterleave.c
2012-05-17 08:50:44 +10:00
eventconvert.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
events.c
Core events: invert check for permission to copy key states
2012-07-09 19:14:50 -07:00
extension.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ffs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gc.c
Add screen-specific privates.
2012-07-05 13:39:50 -07:00
getevents.c
Merge branch 'sigsafe-logging-varargs'
2012-07-02 22:35:39 -07:00
globals.c
os: Add -displayfd option
2012-05-01 11:36:30 +10:00
glyphcurs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabs.c
Fix more poorly indented/wrapped comments & code
2012-07-09 19:14:50 -07:00
initatoms.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
inpututils.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
main.c
dix: introduce gpu screens. (v5)
2012-07-06 10:35:13 +01:00
Makefile.am
input: add a TouchClassRec to the devices
2011-12-19 09:08:36 +10:00
pixmap.c
dix/pixmap: track dirty pixmaps in server. (v4)
2012-07-07 10:37:11 +01:00
privates.c
dix: introduce gpu screens. (v5)
2012-07-06 10:35:13 +01:00
property.c
Rework reply initialization in ProcGetProperty & NullPropertyReply
2012-07-09 19:14:50 -07:00
protocol.txt
ptrveloc.c
dix: indentation fixes for pointer acceleration
2012-05-16 10:59:35 +10:00
region.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
registry.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
resource.c
dix: add reference count of the resource to ResourceSizeRec
2012-04-18 12:49:11 +03:00
selection.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
swaprep.c
Remove unneccesary casts from WriteToClient calls
2012-07-09 19:12:56 -07:00
swapreq.c
Indentation: Change '& stuff' to '&stuff'
2012-03-21 14:02:30 -07:00
tables.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
touch.c
dix: fix memory leak in TouchEventHistoryReplay
2012-07-04 21:16:16 +10:00
window.c
Add screen-specific privates.
2012-07-05 13:39:50 -07:00
Xserver-dtrace.h.in
dix: add dtrace probes to input API
2012-03-22 11:33:42 +10:00
Xserver.d
dix: add dtrace probes to input API
2012-03-22 11:33:42 +10:00