
Hi
On Sat, May 30, 2009 at 10:32 PM, Adam Vogt
In the other words you can't switch tabs after you've added a floating window: as soon as floating gets focus again, tabbed restores it's state as it was before the floating window was added. It's quite annoying and I'd like to fix it, but X.L.Decoration logic is too complicated to me. Or maybe I should look at some other place?
This affects all layouts as far as I can tell. I suspect it has something to do with this defect: http://code.google.com/p/xmonad/issues/detail?id=4
OK, attached is a hack from my xmonad.hs The idea is very dumb: I essentially intercept runLayout and memorize last focused window w from passed Stack such that w == current->workspace->stack->focus ,i.e. if a window actually having focus is the one focused in Stack. Then as soon as focused window is floating I change Stack's focus (back) to w. Seems to work for me: tabbed no longer switches tabs by itself when there're floating windows around.