summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-05-30 13:48:13 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-05-30 13:48:13 (GMT)
commit1ff5b97c709293c02ad32f669550d13064a8831a (patch)
treeb024323dbcd3955f9d347c66a24f4fa5c418b1c3
parent6d4f1380a80192dd7604085751449b9d357271ed (diff)
downloadtk-1ff5b97c709293c02ad32f669550d13064a8831a.zip
tk-1ff5b97c709293c02ad32f669550d13064a8831a.tar.gz
tk-1ff5b97c709293c02ad32f669550d13064a8831a.tar.bz2
Propagated MapNotify events of a panedwindow to its children
-rw-r--r--generic/tkPanedWindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index d61fae3..b2fd92b 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -1343,6 +1343,10 @@ PanedWindowEventProc(
for (i = 0; i < pwPtr->numSlaves; i++) {
Tk_UnmapWindow(pwPtr->slaves[i]->tkwin);
}
+ } else if (eventPtr->type == MapNotify) {
+ for (i = 0; i < pwPtr->numSlaves; i++) {
+ Tk_MapWindow(pwPtr->slaves[i]->tkwin);
+ }
}
}