On Wed, 2010-12-22 at 18:59 +0100, Harald van Dijk wrote: > On Tue, 2010-12-21 at 20:28 +0100, Harald van Dijk wrote: > > I will prepare a patch to only set _NET_ACTIVE_WINDOW for 'normal focus > > events later. > > And here it is, also updated on the wiki.
Unfortunately, unlike the original patch, as it turns out this does not actually work right. Both sawfish and the menu bar get very confused when switching windows via the keyboard. Clicking them, all fine. Selecting them on the panel, also fine. But Alt-Tab, and things break. Most noticeably, the menu bar does not get updated, but at least one other problem is that the panel does not update to reflect the selected window. It looks like _NET_ACTIVE_WINDOW is not only not getting set in some cases where it would be with an unpatched sawfish, but also in some cases where it would be with my original patch. I will try to figure out what is happening, but any pointers would be appreciated. Cheers, Harald
