Fix imported build of Tcl/Tk 8.6.11 (previous version was actually 8.6.10)
This commit is contained in:
@@ -331,7 +331,7 @@ typedef struct _XImage {
|
||||
unsigned long blue_mask;
|
||||
XPointer obdata; /* hook for the object routines to hang on */
|
||||
#if defined(MAC_OSX_TK)
|
||||
int pixelpower; /* n such that pixels are 2^n x 2^n blocks*/
|
||||
int pixelpower; /* No longer used. */
|
||||
#endif
|
||||
struct funcs { /* image manipulation routines */
|
||||
struct _XImage *(*create_image)();
|
||||
@@ -541,7 +541,7 @@ typedef struct {
|
||||
Bool send_event; /* true if this came from a SendEvent request */
|
||||
Display *display; /* Display the event was read from */
|
||||
Window window; /* "event" window it is reported relative to */
|
||||
Window root; /* root window that the event occured on */
|
||||
Window root; /* root window that the event occurred on */
|
||||
Window subwindow; /* child window */
|
||||
Time time; /* milliseconds */
|
||||
int x, y; /* pointer x, y coordinates in event window */
|
||||
@@ -549,9 +549,6 @@ typedef struct {
|
||||
unsigned int state; /* key or button mask */
|
||||
unsigned int keycode; /* detail */
|
||||
Bool same_screen; /* same screen flag */
|
||||
char trans_chars[XMaxTransChars];
|
||||
/* translated characters */
|
||||
unsigned char nbytes;
|
||||
} XKeyEvent;
|
||||
typedef XKeyEvent XKeyPressedEvent;
|
||||
typedef XKeyEvent XKeyReleasedEvent;
|
||||
@@ -562,7 +559,7 @@ typedef struct {
|
||||
Bool send_event; /* true if this came from a SendEvent request */
|
||||
Display *display; /* Display the event was read from */
|
||||
Window window; /* "event" window it is reported relative to */
|
||||
Window root; /* root window that the event occured on */
|
||||
Window root; /* root window that the event occurred on */
|
||||
Window subwindow; /* child window */
|
||||
Time time; /* milliseconds */
|
||||
int x, y; /* pointer x, y coordinates in event window */
|
||||
@@ -580,7 +577,7 @@ typedef struct {
|
||||
Bool send_event; /* true if this came from a SendEvent request */
|
||||
Display *display; /* Display the event was read from */
|
||||
Window window; /* "event" window reported relative to */
|
||||
Window root; /* root window that the event occured on */
|
||||
Window root; /* root window that the event occurred on */
|
||||
Window subwindow; /* child window */
|
||||
Time time; /* milliseconds */
|
||||
int x, y; /* pointer x, y coordinates in event window */
|
||||
@@ -597,7 +594,7 @@ typedef struct {
|
||||
Bool send_event; /* true if this came from a SendEvent request */
|
||||
Display *display; /* Display the event was read from */
|
||||
Window window; /* "event" window reported relative to */
|
||||
Window root; /* root window that the event occured on */
|
||||
Window root; /* root window that the event occurred on */
|
||||
Window subwindow; /* child window */
|
||||
Time time; /* milliseconds */
|
||||
int x, y; /* pointer x, y coordinates in event window */
|
||||
@@ -959,7 +956,7 @@ typedef union _XEvent {
|
||||
XMappingEvent xmapping;
|
||||
XErrorEvent xerror;
|
||||
XKeymapEvent xkeymap;
|
||||
long pad[24];
|
||||
XID pad[24];
|
||||
} XEvent;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ SOFTWARE.
|
||||
/*
|
||||
* TTY Functions, cleverly chosen to map to ascii, for convenience of
|
||||
* programming, but could have been arbitrary (at the cost of lookup
|
||||
* tables in client code.
|
||||
* tables in client code).
|
||||
*/
|
||||
|
||||
#define XK_BackSpace 0xFF08 /* back space, back char */
|
||||
|
||||
Reference in New Issue
Block a user