summaryrefslogtreecommitdiffstats
path: root/win/tkWinEmbed.c
diff options
context:
space:
mode:
authorculler <culler>2019-02-07 17:08:49 (GMT)
committerculler <culler>2019-02-07 17:08:49 (GMT)
commit71775ff27a2673061e31435638f38fa3783868d0 (patch)
tree4db39425ab0aa5f9f122d5750600f4cee5603bc9 /win/tkWinEmbed.c
parent20fd9ad0dbfadae62d438616af4c461e39798fa9 (diff)
downloadtk-71775ff27a2673061e31435638f38fa3783868d0.zip
tk-71775ff27a2673061e31435638f38fa3783868d0.tar.gz
tk-71775ff27a2673061e31435638f38fa3783868d0.tar.bz2
Also change tkWinEmbed.c to match the change in tkUnixEmbed.c, for consistency.
Diffstat (limited to 'win/tkWinEmbed.c')
-rw-r--r--win/tkWinEmbed.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c
index 43c5e25..f28508d 100644
--- a/win/tkWinEmbed.c
+++ b/win/tkWinEmbed.c
@@ -856,6 +856,15 @@ ContainerEventProc(
Tk_Window tkwin = (Tk_Window)containerPtr->parentPtr;
if (eventPtr->type == ConfigureNotify) {
+
+ /*
+ * Send a ConfigureNotify to the embedded application.
+ */
+
+ if (containerPtr->embeddedPtr != None) {
+ TkDoConfigureNotify(containerPtr->embeddedPtr);
+ }
+
/*
* Resize the embedded window, if there is any.
*/