home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15247 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.6 KB  |  28 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!snorkelwacker.mit.edu!linus!linus.mitre.org!rod.mitre.org!cap
  3. From: cap@rod.mitre.org (Craig Prall)
  4. Subject: Need unobscurable window that moves obscuring windows
  5. Message-ID: <1992Aug14.134333.26827@linus.mitre.org>
  6. Keywords: Visibility, obscurable, XConfigureWindow
  7. Sender: news@linus.mitre.org (News Service)
  8. Nntp-Posting-Host: rod.mitre.org
  9. Organization: The MITRE Corporation
  10. Date: Fri, 14 Aug 1992 13:43:33 GMT
  11. Lines: 12
  12.  
  13. I need to have a security classification banner at the top of my X display. Antisocial or not, it is a requirement that this window not be obscurable by other windows. I have added code to receive VisibilityNotify events and XRaiseWindow calls to bring the window back to the top when obscured. The problem is that since this banner is at the top of the display (with no resize bars or other [motif] decorations) it covers over the title bar of the window that previously obscured it. That makes it hard to move
  14.  
  15.  
  16.  
  17.  the offending window out from under the banner using the title bar. What I would prefer to do is to find out the ID of the window that is obscuring the banner and perform an XConfigureWindow to move the other window down automagically. Does anyone know of a relatively painless way to find out the ID of the window obscuring the banner?
  18.  
  19. Thanks for any help,
  20.  
  21. Craig
  22.  
  23. ____________________________-------------------------__________________________
  24. Craig Prall                               email: cprall@mitre.org
  25. The MITRE Corporation                            cap@rod.mitre.org
  26. McLean, VA
  27. ----------------------------_________________________--------------------------
  28.