summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-03-20 08:13:32 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-03-20 08:13:32 (GMT)
commit414b9b3637acc11b5f1f5c832d5223a8d474a4c4 (patch)
tree28deb833bfd63500a869fe689516eca3784b040c /generic
parent42f14fb52f5a0cdf6113741ca6187d7d56fafa32 (diff)
parentd30f4bda39ecf441026e68b7f58eb642c659230f (diff)
downloadtk-414b9b3637acc11b5f1f5c832d5223a8d474a4c4.zip
tk-414b9b3637acc11b5f1f5c832d5223a8d474a4c4.tar.gz
tk-414b9b3637acc11b5f1f5c832d5223a8d474a4c4.tar.bz2
Rebased to core-8-6-branchtip_443
Diffstat (limited to 'generic')
-rw-r--r--generic/tkPanedWindow.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index 2451647..f350d0a 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -1370,11 +1370,15 @@ PanedWindowEventProc(
DestroyPanedWindow(pwPtr);
} else if (eventPtr->type == UnmapNotify) {
for (i = 0; i < pwPtr->numSlaves; i++) {
- Tk_UnmapWindow(pwPtr->slaves[i]->tkwin);
+ if (!pwPtr->slaves[i]->hide) {
+ Tk_UnmapWindow(pwPtr->slaves[i]->tkwin);
+ }
}
} else if (eventPtr->type == MapNotify) {
for (i = 0; i < pwPtr->numSlaves; i++) {
- Tk_MapWindow(pwPtr->slaves[i]->tkwin);
+ if (!pwPtr->slaves[i]->hide) {
+ Tk_MapWindow(pwPtr->slaves[i]->tkwin);
+ }
}
}
}