Formatting changes to x11 window implementation