darcs patch: Turn off _SERVER64 and correct type of state field in ...

Fri Mar 30 07:14:05 EST 2007 Chris Mears

On Fri, Mar 30, 2007 at 07:40:37AM +1000, Chris Mears wrote:
Fri Mar 30 07:14:05 EST 2007 Chris Mears
* Turn off _SERVER64 and correct type of state field in Event structs. _SERVER64 should be defined only for compiling X server code, so we shouldn't use it here.
Changed the type of the "state" member in the XKeyEvent, XButtonEvent and XMotionEvent structures from Modifier to CUInt. This now matches the type given in the X11 header files.
I'd like to suggest an alternate patch. It is a tiny bit shorter and
shouldn't require any changes to X11-Extras.
New patches:
[Turn off _SERVER64 and change Modifier to CUInt
thedward@antejentacular.org**20070329221748
_SERVER64 should be defined only for compiling X server code,
so we shouldn't use it here. (Thanks for the heads up, Chris)
Changed Modifier to be a CUInt.
This shouldn't require any changes to X11-Extras.
]
--
the Edward Blevins

On Thu, Mar 29, 2007 at 05:27:29PM -0500, the Edward Blevins wrote:
[Turn off _SERVER64 and change Modifier to CUInt thedward@antejentacular.org**20070329221748
_SERVER64 should be defined only for compiling X server code, so we shouldn't use it here. (Thanks for the heads up, Chris)
Changed Modifier to be a CUInt.
This shouldn't require any changes to X11-Extras.
]
Applied, thanks! Ian
participants (3)
-
Chris Mears
-
Ian Lynagh
-
the Edward Blevins