On Fri, Jul 05, 2002 at 07:20:40PM +0300, Tom Alsberg wrote: > On Fri, Jul 05, 2002 at 05:52:58PM +0200, Dominik Vogt wrote: [snip] > There is one problem, though... This does not solve the problem I have > with flickering windows/widgets... I removed all my setup related to > it, tested that it does not happen, then inserted your snippet, and > tested, and the flickering happens again... > > A simple test to check the problem, which always shows it for me if it > is there, is with gv (Ghostview). If you have it installed, try the > following with this setup - open some PostScript file in Ghostview, > then select some area by dragging with the middle mouse button (or > equivalent). A zoom menu is supposed to show up. Without those > auto-raise setups, it works fine. With either your snippet, or my > previous setup, you will see the menu for a fraction of a second, and > then it will disappear. This should not happen.
Ah yes. Ghostview probably wants to grab the pointer when the zoom window is opened, but since fvwm is in a complex function, the pointer is already grabbed. Instead or retrying, gv gives up immediately and closes the window. On my machine, the problem goess away when I add this line at the front of the autohide_window function: + I PointerWindow (gv) break so the complete function looks like this: DestroyFunc autohide_window AddToFunc autohide_window + I PointerWindow (gv) break + I Schedule $[AUTO_HIDE_DELAY] $[AUTO_HIDE_GROUP] hide_all + I PointerWindow (FvwmIconMan) schedule_raise + I PointerWindow (FvwmButtons) schedule_raise + I PointerWindow (xclock) schedule_raise + I PointerWindow (xexec) schedule_raise Fvwm breaks out of the function fast enough so that gv can grab the pointer. Unfortunately, the pattern (gv) applies to all ghostview windows, somewhat negating the effect of the autohide setup. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
