some windows (like mupdf) don't have size-hints
ditch the ssh part as i never use it anyway
ugly code to correct pointer warping in resize