summaryrefslogtreecommitdiffstats
path: root/xlib/X11
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-13 11:06:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-13 11:06:42 (GMT)
commit1a75d5e6d3672fc72127a4df0127c3532b8b31b8 (patch)
tree84000d61b88a5aa813de9290f14da619991750a8 /xlib/X11
parentffa301ef3e908eeecc3893f7cf3213ffe9f2c400 (diff)
downloadtk-1a75d5e6d3672fc72127a4df0127c3532b8b31b8.zip
tk-1a75d5e6d3672fc72127a4df0127c3532b8b31b8.tar.gz
tk-1a75d5e6d3672fc72127a4df0127c3532b8b31b8.tar.bz2
Quick-fix for build problem on X11 (unfortunately, this means mis-using the xbutton.button field again, don't have other quick solution for that)
Diffstat (limited to 'xlib/X11')
-rw-r--r--xlib/X11/Xlib.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/xlib/X11/Xlib.h b/xlib/X11/Xlib.h
index 1e97018..af8f706 100644
--- a/xlib/X11/Xlib.h
+++ b/xlib/X11/Xlib.h
@@ -568,22 +568,6 @@ typedef struct {
int x, y; /* pointer x, y coordinates in event window */
int x_root, y_root; /* coordinates relative to root */
unsigned int state; /* key or button mask */
- int delta; /* detail */
- Bool same_screen; /* same screen flag */
-} XWheelEvent;
-
-typedef struct {
- int type; /* of event */
- unsigned long serial; /* # of last request processed by server */
- 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 subwindow; /* child window */
- Time time; /* milliseconds */
- int x, y; /* pointer x, y coordinates in event window */
- int x_root, y_root; /* coordinates relative to root */
- unsigned int state; /* key or button mask */
unsigned int button; /* detail */
Bool same_screen; /* same screen flag */
} XButtonEvent;
@@ -946,7 +930,6 @@ typedef union _XEvent {
int type; /* must not be changed; first element */
XAnyEvent xany;
XKeyEvent xkey;
- XWheelEvent xwheel;
XButtonEvent xbutton;
XMotionEvent xmotion;
XCrossingEvent xcrossing;