Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xorg-x11-driver-input
p_mouse_misc.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p_mouse_misc.diff of Package xorg-x11-driver-input
--- programs/Xserver/hw/xfree86/input/mouse/mouse.c 1 Nov 2004 16:45:53 -0000 1.1.1.39 +++ programs/Xserver/hw/xfree86/input/mouse/mouse.c 17 Mar 2005 18:39:52 -0000 @@ -967,6 +967,9 @@ if (!(pMse = xcalloc(sizeof(MouseDevRec), 1))) return pInfo; pInfo->private = pMse; + /* for sanity check in Misc extension - Hack! */ + pMse->magic = MOUSE_MAGIC; + pMse->size = sizeof(*pMse); pMse->Ctrl = MouseCtrl; pMse->PostEvent = MousePostEvent; pMse->CommonOptions = MouseCommonOptions; --- a/programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h 1 Nov 2004 16:46:39 -0000 1.1.1.21 +++ a/programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h 17 Mar 2005 18:39:52 -0000 @@ -204,7 +204,11 @@ int dx, int dy, int dz, int dw); typedef void (*MouseCommonOptProc)(InputInfoPtr pInfo); +#define MOUSE_MAGIC 15031995 + typedef struct _MouseDevRec { + unsigned long magic; + int size; PtrCtrlProcPtr Ctrl; PostMseEventProc PostEvent; MouseCommonOptProc CommonOptions;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor