Discussion:
[xmonad] XMonad.Actions.UpdateFocus doesn't work
Kilian Evang
2017-09-01 20:57:08 UTC
Permalink
Hi,

documentation for XMonad.Actions.UpdateFocus says it "Updates the focus
on mouse move in unfocused windows." However, for me (using Ubuntu
16.04, xmonad installed from Ubuntu repository), it doesn't seem to have
any effect.

Here is my minimal xmonad.hs:

import XMonad
import XMonad.Actions.UpdateFocus

main = xmonad $ defaultConfig {
focusFollowsMouse = True,
startupHook = adjustEventInput,
handleEventHook = focusOnMouseMove
}

Any idea what's wrong?

Cheers,
Kilian
Brandon Allbery
2017-09-01 23:07:43 UTC
Permalink
Post by Kilian Evang
Any idea what's wrong?
I'd have to review xmonad's setup code to be certain, but I think the
startupHook no longer works. Instead, the mask changes it makes need to be
exported and applied to the rootMask and clientMask fields of the XConfig.

File a bug on the xmonad-contrib issue tracker, please, referencing this
message from the list archives.
--
brandon s allbery kf8nh sine nomine associates
***@gmail.com ***@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Loading...