summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r--generic/tkBind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index d4c6b52..9bb4f06 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -2314,7 +2314,7 @@ Tk_BindEvent(
*/
curEvent->xev = *eventPtr;
- if ((flags & KEY) && (eventPtr->type != MouseWheelEvent)) {
+ if (flags & KEY) {
curEvent->detail.info = TkpGetKeySym(dispPtr, eventPtr);
} else if (flags & BUTTON) {
curEvent->detail.info = eventPtr->xbutton.button;