Disable resizing windows that don't make sense to resize.