[xmonad] Issue 200 in xmonad: xmonad spins in a tight loop changing focus back and forth

codesite-noreply at google.com codesite-noreply at google.com
Fri Mar 1 01:38:18 CET 2013


Comment #20 on issue 200 by cpscha... at gmail.com: xmonad spins in a tight  
loop changing focus back and forth
http://code.google.com/p/xmonad/issues/detail?id=200

The provided code does not work, 'setWindowBorder :: Display -> Window ->  
Pixel -> IO ()' , not -> X (Endo StackSet). Even mixing in 'io' to convert  
to 'X ()' doesn't fully fix it.

For example this doesn't work:

     -- really is: 'doRemoveBorders :: Query ()'
     doRemoveBorders :: Query (Endo WindowSet)
     doRemoveBorders = ask >>= \w -> liftX . withDisplay $ \d -> io $  
setWindowBorder d w 0

That said, using ewmh as recommended appears to fix it entirely.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



More information about the xmonad mailing list