
On Fri, Jun 22, 2012 at 11:30 PM, Brandon Allbery
On Fri, Jun 22, 2012 at 5:21 PM, Carsten Mattner
wrote: On Fri, Jun 22, 2012 at 11:07 PM, Brandon Allbery
wrote: On Fri, Jun 22, 2012 at 4:29 PM, Carsten Mattner
wrote: If I return mplayer from fullscreen the floating window moves 1 step right and 1 step down. Didn't measure how many pixels it moves.
Known, difficult to fix. http://code.google.com/p/xmonad/issues/detail?id=431
Does it happen with any other applications? Sounds like changing MPlayer's fullscreen mode wouldn't make a difference.
What's the difficulty?
It's not related to mplayer at all, but to the way borders interact with floating windows and inappropriately relying on the saved window position. In short, when the position of a floating window is (re)computed, it gets shifted by the border width. (It's more complicated than this, but that's the gist. The actual details involve the inner workings of XMonad.Operations.windows.)
OK. I'll see if I can add a rule to set MPlayer's borderWidth to 0. Maybe that could work around the issue. The list of applications I fullscreen and un-fullscreen is short.