summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2012-10-02 00:45:42 (GMT)
committerKevin Walzer <kw@codebykevin.com>2012-10-02 00:45:42 (GMT)
commitf82a546e0388fbd3c57a59231a3d39afde6b6b45 (patch)
tree6db6c253a6a66464f43d9124b49e3c37fad510f0 /unix
parent739e5d3c45d41323d630fac68f14b63128a4ed80 (diff)
downloadtk-f82a546e0388fbd3c57a59231a3d39afde6b6b45.zip
tk-f82a546e0388fbd3c57a59231a3d39afde6b6b45.tar.gz
tk-f82a546e0388fbd3c57a59231a3d39afde6b6b45.tar.bz2
Backport of dgp fixes on 50e0c049b2 to 8.5
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixSend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index f376d79..048fb88 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -1353,6 +1353,8 @@ SendInit(
dispPtr->commTkwin = (Tk_Window) TkAllocWindow(dispPtr,
DefaultScreen(dispPtr->display), NULL);
Tcl_Preserve((ClientData) 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);