summaryrefslogtreecommitdiffstats
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)
commitd3cdb431d4569e05b85e9926a6527646679e4283 (patch)
tree1391646ed5582f4bfabd8019165aaef666cbe13f
parentb0607c5bc8fdc2d0bacc8e8e18e3d19808c44e6e (diff)
downloadtk-d3cdb431d4569e05b85e9926a6527646679e4283.zip
tk-d3cdb431d4569e05b85e9926a6527646679e4283.tar.gz
tk-d3cdb431d4569e05b85e9926a6527646679e4283.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);
+ }
}
}