xserver-multidpi/Xext
Keith Packard fb22a408c6 Save major/minor opcodes in ClientRec for RecordAReply
The record extension needs the major and minor opcodes in the reply
hook, but the request buffer may have been freed by the time the hook
is invoked. Saving the request major and minor codes as the request is
executed avoids fetching from the defunct request buffer.

This patch also eliminates the public MinorOpcodeOfRequest function,
inlining it into Dispatch. Usages of that function have been replaced
with direct access to the new ClientRec field.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
2011-12-01 15:11:20 +00:00
..
bigreq.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
dpms.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
dpmsproc.h DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
dpmsstubs.c DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
geext.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
geext.h Xext: remove ev_fill from GEExtensions. 2009-03-20 15:17:54 +10:00
geint.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
Makefile.am xext: Remove XCALIBRATE extension 2011-03-01 10:56:17 +10:00
panoramiX.c Merge remote-tracking branch 'mattst88/for-keith' 2011-09-21 14:34:27 -07:00
panoramiX.h panoramiX: consolidate common id assignment code. 2011-03-10 11:00:48 +10:00
panoramiXh.h Centralize declaration of ConnectionInfo. 2008-08-20 13:14:34 -04:00
panoramiXprocs.c panoramiX: convert 1->panoramiXNumScreens loops to use macro (v2) 2011-03-10 11:01:51 +10:00
panoramiXsrv.h XineramaInitData ignores its argument. Quit passing one. 2011-09-18 20:11:43 -05:00
panoramiXSwap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
saver.c Use correct swap{l,s} (or none at all for CARD8) 2011-09-21 17:14:16 -04:00
security.c Save major/minor opcodes in ClientRec for RecordAReply 2011-12-01 15:11:20 +00:00
securitysrv.h Xext: include security protocol header instead of client header 2009-09-20 19:57:01 +10:00
shape.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
shm.c Fix ShmPutImage for XYBitmap 2011-11-19 14:25:53 +01:00
shmint.h Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
sleepuntil.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
sleepuntil.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
sync.c Fix gcc -Wwrite-strings warnings in various extensions 2011-11-23 12:15:07 -08:00
syncsdk.h Create/Destroy/Trigger/Reset/Query Fence Sync objs 2010-12-06 19:15:38 -08:00
syncsrv.h Fix gcc -Wwrite-strings warnings in various extensions 2011-11-23 12:15:07 -08:00
xace.c xace: Invalid reference to out-of-scope data. 2010-08-10 16:04:16 -07:00
xace.h Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xacestr.h Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xcmisc.c Unconditionally #include <stdint.h> 2011-09-23 16:46:23 -07:00
xf86bigfont.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xf86bigfontsrv.h New header for XF86Bigfont server functions 2010-03-22 00:48:04 -05:00
xres.c Use correct swap{l,s} (or none at all for CARD8) 2011-09-21 17:14:16 -04:00
xselinux_ext.c Xext: remove unused variable 'n' 2011-11-10 13:21:36 +10:00
xselinux_hooks.c Save major/minor opcodes in ClientRec for RecordAReply 2011-12-01 15:11:20 +00:00
xselinux_label.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xselinux.h xselinux: Bump extension minor version. 2010-02-22 17:05:01 -05:00
xselinuxint.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xtest.c Fix gcc -Wwrite-strings warnings in various extensions 2011-11-23 12:15:07 -08:00
xvdisp.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xvdisp.h Fix swapped Xv dispatch under Xinerama. 2007-12-02 14:15:36 -05:00
xvdix.h xv: Use RESTYPE where appropriate 2011-03-08 13:19:40 -05:00
xvmain.c Xext: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00
xvmc.c Convert strncpy/strncat to strlcpy/strlcat 2011-11-23 12:15:05 -08:00
xvmcext.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00