[comp.windows.x.motif] Returned mail

dvb@emisle.uucp (David Van Beveren) (05/08/91)

>
>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.
>

I saw this problem once. The solution was this: The background window was
being raised when the menu was posted, obscuring it imiediately. Of course,
once in a while the events would get processed in reverse order and it would
work. The raise was getting called when focus to the dialog shell was received,
and this was removed. It worked fine ever since. Does the cursor do funny 
things when this happens to you? (the cursor pointed a different direction in
the popup menu, this wrong direction persisted even though the popup was
not visible, until you clicked the mouse.

Good luck.

-- 
David Van Beveren                           INTERNET: emisle!dvb@ism.isc.com
EIS ltd. Professional Software Services     UUCP:   ..uunet!emisle!dvb
voice: (818) 587-1247