As described in this and this issue, my floating windows are sometimes rendered behind other windows when using xmonad together with compton. One possible workaround I want to try is to make xmonad move new floating windows slightly, which should render them above other windows. However, being new to xmonad and Haskell, I have no idea how to achieve this.
How do I tell xmonad "When a new floating window is created, move it one pixel to the right"?
(xmonad-0.10 and xmonad-contrib-0.10)