On Mon, Jun 21, 2004 at 12:28:43AM +0200, Bjoern Steinbrink wrote: > i've tried to use FvwmAuto to automatically shade windows, emulating > auto-hide panels. For example my FvwmPager is in the upper-right corner > and shaded, if i put the mouse over it, it is automatically unshaded, if > the mouse leaves it, it is shaded again. > > The problem with FvwmAuto is that if the mouse leaves the window for a > short time (less then the delay set for FvwmAuto) and re-enters it, > FvwmAuto calls both, the leave and enter functions, on the window, which > results in the mouse leaving the window again when it is shaded (leave) > and re-entering again when it is unshaded (enter), creating a loop. This > leads to flickering of the window. > > You can reproduce this using: > Module FvwmAuto 500 -menterleave "Silent WindowShade" \ > "Silent WindowShade" > > Then enter a window with the mouse (a shaded one will probably work > better), leave it for a short amount of time and re-enter it. > > The attached patch simply compares the last 'raised' window (which would > be 'lowered') to the one that has been entered, if they are the same, > the action is canceled. > > Please CC me when replying.
I have applied the patch. Thank you. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]
pgplnR6wFXUZi.pgp
Description: PGP signature