Peter Hutterer 23ae68a4c7 dix: before copying the classes the first time, set the VCK's classes to NULL.
XkbFinishDeviceInit does the following:
  xkbi->kbdProc= pXDev->kbdfeed->CtrlProc;
  pXDev->kbdfeed->CtrlProc= XkbDDXKeybdCtrlProc;

If we directly copy the device classes for the VCK, pXDev->kbdfeed->CtrlProc
at the time of copying is still XbkDDXKeybdCtrlProc. So at some point
XkbDDXKeybdCtrlProc is called, and calls itself, and calls itself, and...

Setting the device's classes to NULL seems to fix things. The memory isn't
lost, it gets stored into the devPrivates and freed at device closing time.
2008-02-26 15:35:28 +10:30
2007-12-02 12:40:25 -05:00
2008-01-26 13:55:07 +10:30
2008-01-03 17:04:54 +10:30
2008-01-03 17:04:54 +10:30
2008-01-03 17:04:54 +10:30
2008-01-26 13:55:07 +10:30
2008-01-03 17:04:54 +10:30
Description
Truly free fork of the XOrg project.
75 MiB
Languages
C 96.4%
Roff 1.1%
Objective-C 1%
Meson 0.9%
Shell 0.2%
Other 0.2%