diff options
author | fvogel <fvogelnew1@free.fr> | 2015-05-30 13:48:13 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-05-30 13:48:13 (GMT) |
commit | d3cdb431d4569e05b85e9926a6527646679e4283 (patch) | |
tree | 1391646ed5582f4bfabd8019165aaef666cbe13f | |
parent | b0607c5bc8fdc2d0bacc8e8e18e3d19808c44e6e (diff) | |
download | tk-d3cdb431d4569e05b85e9926a6527646679e4283.zip tk-d3cdb431d4569e05b85e9926a6527646679e4283.tar.gz tk-d3cdb431d4569e05b85e9926a6527646679e4283.tar.bz2 |
Propagated MapNotify events of a panedwindow to its children
-rw-r--r-- | generic/tkPanedWindow.c | 4 |
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); + } } } |