summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-05-30 13:48:13 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-05-30 13:48:13 (GMT)
commit786753b1391714947b613763539305c03affa7d6 (patch)
tree1391646ed5582f4bfabd8019165aaef666cbe13f /generic/tkPanedWindow.c
parentff3a1605b62a81c8e926998dfcbd85451831b8d7 (diff)
downloadtk-786753b1391714947b613763539305c03affa7d6.zip
tk-786753b1391714947b613763539305c03affa7d6.tar.gz
tk-786753b1391714947b613763539305c03affa7d6.tar.bz2
Propagated MapNotify events of a panedwindow to its children
Diffstat (limited to 'generic/tkPanedWindow.c')
-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);
+ }
}
}