home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!walter!thumper!tjj
- From: tjj@thumper..bellcore.com (J Tim Jordan)
- Subject: Re: Tk3.0 bug?
- Message-ID: <1992Dec22.012721.17612@walter.bellcore.com>
- Sender: news@walter.bellcore.com
- Nntp-Posting-Host: thumper.bellcore.com
- Reply-To: tjj@thumper.UUCP (J Tim Jordan)
- Organization: Bellcore MRE
- References: <SLS.92Dec18163617@batcomputer.aero.org> <1h56dpINNfvt@agate.berkeley.edu>
- Date: Tue, 22 Dec 92 01:27:21 GMT
- Lines: 35
-
- >Tk 3.0 appears to have broken the ability to start a window off
- >withdrawn and later deiconify it. Here is a patch to tkWm.c that
- >should fix the problem. Sorry about that...
- >
- >*** /tmp/,RCSt1084779 Mon Dec 21 11:36:13 1992
- >--- tkWm.c Mon Dec 21 11:30:53 1992
- >***************
- >*** 386,394 ****
- > XTextProperty textProp;
- > int savedX, savedY, savedFlags;
- >
- >- if (wmPtr->hints.initial_state == WithdrawnState) {
- >- return;
- >- }
- > if (wmPtr->flags & WM_NEVER_MAPPED) {
- > wmPtr->flags &= ~WM_NEVER_MAPPED;
- >
- >--- 386,391 ----
- >***************
- >*** 433,438 ****
- >--- 430,438 ----
- > }
- > }
- > }
- >+ if (wmPtr->hints.initial_state == WithdrawnState) {
- >+ return;
- >+ }
- > wmPtr->flags |= WM_ABOUT_TO_MAP;
- ^^^^^^^^^^^^^^^
- What is this? Can we just choose the next available bit 0x80 ?
- If so I tried this and it doesn't work.
-
- Tim
-
-
-