Just for clarity, the problem comes from a bug fix in Xorg 7.1 regarding CompositeUnredirectWindow().
http://lists.freedesktop.org/archives/xorg/2005-October/010679.html xfwm4 used to work around the spurious unmap/remap in Xorg in 7.0 by ignoring these, but Xorg 7.1 do not generate those events anymore, thus causing real meaningful unmap events to be ignored by xfwm4, thus causing this problem. The work around has been removed now from xfwm4, but that will cause repaint problems when using Xorg <= 7.0 - Still better than breaking with Xorg >= 7.1 -- black active window when returning from screensaver https://launchpad.net/bugs/64115 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs