Hi again,

>> When then window list closes, the window under it gets
>> a MouseEnter event, so sloppy focus will focus that window. Another 
>> great side effect of an external keygrabber :\. Is this what you're 
>> seeing or is there something else awry?
> Bingo! Ok, so why don't you do it the other way around:
> Close the popup window, fire the MouseEnter event, end finally, change 
> the focus to the new window?
I just did it so that it what's happening:
In Stackmenu.cc::selectFocused( bool raise ) I start added 
the following in the beginning:
  void Stackmenu::selectFocused(bool raise) {
    if ( raise )
      Basemenu::hide();
    // The rest follows here...
  } // selectFocused
That way the MouseEnter event is given to the window 
beneath, but the focus is still given to the proper window 
afterwards.

Regards,
  Martin

Reply via email to