Fixes for various X11 window managers