
Hi, yesterday there has been a complain about the way unclutter (the small utility to hide the pointer after some inactivity) interacts with XMonad. If you run it without the -grab option and you happen to have the pointer over the borders of the screen, it is not possible to change the focus anymore. This is because XMonad uses the mouse to focus windows.[1] This is due to the unclutter default behavior, which uses fake X events to interact with other X clients. So I rewrote unclutter in Haskell. There's a small issue with threads and the timer, but it is usable here. You can grab it with other haskell utilities for xmonad here: darcs get http://gorgias.mine.nu/repos/xmonad-utils/ or get it directly here: http://gorgias.mine.nu/repos/xmonad-utils/src/Hhp.hs together with this: http://gorgias.mine.nu/repos/xmonad-utils/src/Utils.hs This is a collection of utilities I've already written about. I'm going to release them as soon as X11-extras-0.3 will be released. Andrea [1] btw there is another issue with that: open 4 windows and float and resize the last one. Focus the first or the second window and switch to the full layout. Now Enter the floating window with the mouse. Did you notice something on the background? You are on the 3rd window.

mailing_list:
Hi,
yesterday there has been a complain about the way unclutter (the small utility to hide the pointer after some inactivity) interacts with XMonad. If you run it without the -grab option and you happen to have the pointer over the borders of the screen, it is not possible to change the focus anymore. This is because XMonad uses the mouse to focus windows.[1]
This is due to the unclutter default behavior, which uses fake X events to interact with other X clients.
So I rewrote unclutter in Haskell. There's a small issue with threads and the timer, but it is usable here.
You can grab it with other haskell utilities for xmonad here: darcs get http://gorgias.mine.nu/repos/xmonad-utils/
or get it directly here: http://gorgias.mine.nu/repos/xmonad-utils/src/Hhp.hs together with this: http://gorgias.mine.nu/repos/xmonad-utils/src/Utils.hs
This is a collection of utilities I've already written about. I'm going to release them as soon as X11-extras-0.3 will be released.
Great work Andrea. This loooooooooooooooong outstanding unclutter bug is annoying. Cheers, Don
participants (2)
-
Andrea Rossato
-
dons@cse.unsw.edu.au