From 1ff5b97c709293c02ad32f669550d13064a8831a Mon Sep 17 00:00:00 2001 From: "fvogelnew1@free.fr" Date: Sat, 30 May 2015 13:48:13 +0000 Subject: Propagated MapNotify events of a panedwindow to its children --- generic/tkPanedWindow.c | 4 ++++ 1 file changed, 4 insertions(+) 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); + } } } -- cgit v0.12