summaryrefslogtreecommitdiffstats
path: root/generic/tkFocus.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-03-12 20:55:45 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-03-12 20:55:45 (GMT)
commitb36fe5790a29cf78c58ab273cce93ab0604076ba (patch)
treee48fb16f01ff1bf29a7e6005b8c8de81b7d848ef /generic/tkFocus.c
parent56bac29b07ed375d5e8340d16a3aeaf765c7cd76 (diff)
parent3225b5d516ebdfe6473130f7ac71465a70a9fcd9 (diff)
downloadtk-b36fe5790a29cf78c58ab273cce93ab0604076ba.zip
tk-b36fe5790a29cf78c58ab273cce93ab0604076ba.tar.gz
tk-b36fe5790a29cf78c58ab273cce93ab0604076ba.tar.bz2
Fix [08e2f8e6f0]: unable to change focus after prior selection of focus
Diffstat (limited to 'generic/tkFocus.c')
-rw-r--r--generic/tkFocus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkFocus.c b/generic/tkFocus.c
index 40ef139..8066afd 100644
--- a/generic/tkFocus.c
+++ b/generic/tkFocus.c
@@ -603,7 +603,7 @@ TkSetFocusWin(
if (displayFocusPtr->focusOnMapPtr != NULL) {
Tk_DeleteEventHandler((Tk_Window) displayFocusPtr->focusOnMapPtr,
- StructureNotifyMask, FocusMapProc,
+ VisibilityChangeMask, FocusMapProc,
displayFocusPtr->focusOnMapPtr);
displayFocusPtr->focusOnMapPtr = NULL;
}