summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-21 11:47:01 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-21 11:47:01 (GMT)
commit228de7118f7b17e05c2cb094dc8be7773e84a837 (patch)
tree0d7cd963dfdc82838fc21db5936ecc69eb5bf3c8 /unix
parent70ec0cf3ca52e328ea05e5f4ce49e8d418d3c820 (diff)
parent3909596107d0d604919e86b05378da14cf51dedc (diff)
downloadtk-228de7118f7b17e05c2cb094dc8be7773e84a837.zip
tk-228de7118f7b17e05c2cb094dc8be7773e84a837.tar.gz
tk-228de7118f7b17e05c2cb094dc8be7773e84a837.tar.bz2
Merge trunk
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixEvent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index 59ba9de..67ce552 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -365,7 +365,9 @@ TransferXEventsToTcl(
while (QLength(display) > 0) {
XNextEvent(display, &event.x);
- if (event.type > MappingNotify) {
+ if ((event.type >= VirtualEvent) && (event.type <= MouseWheelEvent)) {
+ /* See [fe87e9af39]. Those are internal Tk event types, if they come
+ * from an external source they most likely would be totally mis-interpreted */
continue;
}
w = None;