home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / tcl / 2200 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.3 KB  |  49 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!walter!thumper!tjj
  3. From: tjj@thumper..bellcore.com (J Tim Jordan)
  4. Subject: Re: Tk3.0 bug?
  5. Message-ID: <1992Dec22.012721.17612@walter.bellcore.com>
  6. Sender: news@walter.bellcore.com
  7. Nntp-Posting-Host: thumper.bellcore.com
  8. Reply-To: tjj@thumper.UUCP (J Tim Jordan)
  9. Organization: Bellcore MRE
  10. References: <SLS.92Dec18163617@batcomputer.aero.org> <1h56dpINNfvt@agate.berkeley.edu>
  11. Date: Tue, 22 Dec 92 01:27:21 GMT
  12. Lines: 35
  13.  
  14. >Tk 3.0 appears to have broken the ability to start a window off
  15. >withdrawn and later deiconify it.  Here is a patch to tkWm.c that
  16. >should fix the problem.  Sorry about that...
  17. >
  18. >*** /tmp/,RCSt1084779    Mon Dec 21 11:36:13 1992
  19. >--- tkWm.c    Mon Dec 21 11:30:53 1992
  20. >***************
  21. >*** 386,394 ****
  22. >      XTextProperty textProp;
  23. >      int savedX, savedY, savedFlags;
  24. >  
  25. >-     if (wmPtr->hints.initial_state == WithdrawnState) {
  26. >-     return;
  27. >-     }
  28. >      if (wmPtr->flags & WM_NEVER_MAPPED) {
  29. >      wmPtr->flags &= ~WM_NEVER_MAPPED;
  30. >  
  31. >--- 386,391 ----
  32. >***************
  33. >*** 433,438 ****
  34. >--- 430,438 ----
  35. >          }
  36. >      }
  37. >      }
  38. >+     if (wmPtr->hints.initial_state == WithdrawnState) {
  39. >+     return;
  40. >+     }
  41. >      wmPtr->flags |= WM_ABOUT_TO_MAP;
  42.                        ^^^^^^^^^^^^^^^
  43. What is this? Can we just choose the next available bit 0x80 ?
  44. If so I tried this and it doesn't work.
  45.  
  46. Tim
  47.  
  48.  
  49.