title: Remove border from fullscreen floating windows only (XMonad configuration)
body: <p>I would like to</p>
  
  <ol>
  <li>remove borders (only) from floating windows covering the full screen (like mplayer), and</li>
  <li>use a different border color (normalBorderColor) when there is only one window in a workspace.</li>
  </ol>
  
  <p>Currently, I am using smartBorders from XMonad.Layout.NoBorders to remove the border from mplayer, and to remove the border of a window when that window is the only window in a workspace. However, when I switch between two workspaces which both have a single non-floating window (regardless of mode (tall/mirror/full)), then I see the window (in the workspace I am changing into) "jump" a bit, as its border is drawn, and then removed a brief moment thereafter (the effect is more visible if you set your borderWidth to a large number).</p>
  
  <p>The relevant part of my ~/.xmonad/xmonad.hs is given below.</p>
  
  <pre><code>import XMonad.Hooks.ManageDocks
  import XMonad.Layout.NoBorders
  myLayout = tiled ||| Mirror tiled ||| Full
    where
      tiled   = Tall 1 (3/100) (3/5)                                 
  main = xmonad $ defaultConfig 
                   { layoutHook = avoidStruts $ smartBorders $ myLayout 
                   , borderWidth = 4
                   , normalBorderColor  = "#000000" -- black
                   , focusedBorderColor = "#ff3f3f" -- reddish
                   }
  </code></pre>
  
  <p>Do you folks know how I achieve this effect? (is part 2. even possible?) Suggestions and pointers to extensions and/or existing configurations that achieve a similar effect greatly appreciated.</p>