summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorgcramer <remarcg@gmx.net>2019-01-26 13:46:25 (GMT)
committergcramer <remarcg@gmx.net>2019-01-26 13:46:25 (GMT)
commitefcfc05ef6c6ba6396c51255cf6a19ceb1bcab58 (patch)
tree8669c3538dcdbcede8035ae10c8248e90da18cf3 /generic
parentbdc144b3d62267426e1008466f49163471acbd17 (diff)
downloadtk-efcfc05ef6c6ba6396c51255cf6a19ceb1bcab58.zip
tk-efcfc05ef6c6ba6396c51255cf6a19ceb1bcab58.tar.gz
tk-efcfc05ef6c6ba6396c51255cf6a19ceb1bcab58.tar.bz2
Outdated code fragment has been removed (DONT_REDIRECT_GENERATED_KEY_EVENTS).
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index b8167bf..20849f8 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -3941,12 +3941,6 @@ HandleEventGenerate(
event.general.xany.send_event = GENERATED_FOCUS_EVENT_MAGIC;
}
-#ifdef DONT_REDIRECT_GENERATED_KEY_EVENTS
- if (event.general.xany.type == KeyPress || event.general.xany.type == KeyRelease) {
- event.general.xany.send_event = GENERATED_FOCUS_EVENT_MAGIC;
- }
-#endif
-
/*
* Process the remaining arguments to fill in additional fields of the event.
*/