[xmonad] tabbed, floating & focus

Konstantin Sobolev konstantin.sobolev at gmail.com
Wed Jul 1 15:22:20 EDT 2009


On Wed, Jul 1, 2009 at 10:39 PM, Henrique G. Abreu<hgabreu at gmail.com> wrote:
> I've just tested your hack and it worked, but not very well.
> When I placed a floating window on a tabbed workspace, changed the focus
> from floating and tiled alternately, it worked as expected.
> But when I closed the floating window, the tiled windows just switched as
> before, which is not a big problem.
> The real problem happened when I tried to float a tiled window, xmonad got
> crazy.
> xmonad process got a 100% usage on a core and the 'screen' were not updated
> anymore, only the later window had the focus. No way to change the focus or
> do anything.
> Hopefully this window I tried to float were a terminal and was able to kill
> xmonad and re-run it without kill X or logging ssh.
> (xmonad --restart didn't worked)
>
> Anyway, this switching focus problem is really annoying.
> I'm willing to test anymore hacks you build :P

yep, there was a bug, I didn't post a fix since nobody was interested.
See fixed version attached. It still has some minor issues but works
good enough for me :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixfocus.hs
Type: text/x-haskell
Size: 1774 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090701/09170d30/fixfocus.bin


More information about the xmonad mailing list