diff options
author | dgp <dgp@users.sourceforge.net> | 2012-09-17 13:12:54 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-09-17 13:12:54 (GMT) |
commit | 4cbb37bc3338750041662ad1d3ef5a9a5f6016b7 (patch) | |
tree | 7850e390c8761a9ca92947bebadf1054505229f0 /unix | |
parent | a8512fc0800ca93149c86ad526313794ea16be36 (diff) | |
parent | a7ed3710535ad02489545afd8bd9bb587b7cfdd8 (diff) | |
download | tk-4cbb37bc3338750041662ad1d3ef5a9a5f6016b7.zip tk-4cbb37bc3338750041662ad1d3ef5a9a5f6016b7.tar.gz tk-4cbb37bc3338750041662ad1d3ef5a9a5f6016b7.tar.bz2 |
merge trunk
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixSend.c | 3 |
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); |