Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!stanford.edu!agate!ucbvax!ISI.COM!edmark From: edmark@ISI.COM (Ron O. Edmark) Newsgroups: comp.windows.x.motif Subject: Re: Motif window decorations under olwm Message-ID: <9105061720.AA06451@trifid> Date: 6 May 91 17:20:38 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 29 > > > Under mwm and twm, the window decorations, including title, do appear. What > > can I do so that they will also show under olwm? > > I wish I knew. I also was unable to find out why (when I use a windowId as > an icon instead of a pixmap) I can't get icon labels. You will also find that > olwm doesn't keep dialogs on top and doesn't unmap them when you iconize. I > find it helpful to think of olwm as kind of a stripped down uwm that happens > to have borders. > We are having the same problem in our application. We found that if we parented our popup dialogs with our unmapped application shell we would get window decorations but if we used the toplevel shells of our mapped windows the decorations would go away. A closer look at olwm reveals that it is looking at an _OL_WIN_ATTR window property to set the decorations (see pages 70-72 of OLIT Widget Set Programmer's Guide). I was going to set the "menu_type" atom to _OL_MENU_LIMITED for all of our popups but I have been working on a bigger problem. None of our option menus work correctly they popup but then pop right back down. +---------------------------------------------------------------------+ | Ron Edmark User Interface Group | | Tel: (408) 980-1500 x282 Integrated Systems, Inc. | | Internet: edmark@isi.com 3260 Jay St. | | Voice mail: (408) 980-1590 x282 Santa Clara, CA 95054 | +---------------------------------------------------------------------+