Functions for special windows.