[xmonad] Re: Issue 337 in xmonad: MagicFocus affect workspace

codesite-noreply at google.com codesite-noreply at google.com
Sat Nov 14 17:37:39 EST 2009


Updates:
	Owner: vogt.adam
	Labels: Priority-Low Type-Enhancement Component-Contrib

Comment #1 on issue 337 by vogt.adam: MagicFocus affect workspace
http://code.google.com/p/xmonad/issues/detail?id=337

Isn't this global shifting behavior better implemented as a logHook rather  
than a
layoutHook:

> isMaster = gets $ maybe True (null . W.up)
>              . W.stack . W.workspace . W.current . windowset

> globalMagicFocus :: X ()
> globalMagicFocus = isMaster >>= flip unless (windows W.shiftMaster)

Is the globalMagicFocus function (as a logHook) what you are asking for?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the xmonad mailing list