summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-09-17 13:12:54 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-09-17 13:12:54 (GMT)
commit4cbb37bc3338750041662ad1d3ef5a9a5f6016b7 (patch)
tree7850e390c8761a9ca92947bebadf1054505229f0 /unix
parenta8512fc0800ca93149c86ad526313794ea16be36 (diff)
parenta7ed3710535ad02489545afd8bd9bb587b7cfdd8 (diff)
downloadtk-4cbb37bc3338750041662ad1d3ef5a9a5f6016b7.zip
tk-4cbb37bc3338750041662ad1d3ef5a9a5f6016b7.tar.gz
tk-4cbb37bc3338750041662ad1d3ef5a9a5f6016b7.tar.bz2
merge trunk
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixSend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index 54c3cf2..e3a810d 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -1360,6 +1360,9 @@ SendInit(
dispPtr->commTkwin = (Tk_Window) TkAllocWindow(dispPtr,
DefaultScreen(dispPtr->display), NULL);
Tcl_Preserve(dispPtr->commTkwin);
+ ((TkWindow *) dispPtr->commTkwin)->flags |=
+ TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED;
+ TkWmNewWindow((TkWindow *) dispPtr->commTkwin);
atts.override_redirect = True;
Tk_ChangeWindowAttributes(dispPtr->commTkwin,
CWOverrideRedirect, &atts);