Straight from debian/patches.
Description: cap max-width / max-height of a window Cherry-picked from upstream commit 798c6992. Fixes issues with Iceweasel 17. Author: Robert Bihlmeyer <ro...@orcus.priv.at> Origin: upstream Bug-Debian: 711846
--- sawfish-1.5.3.orig/src/windows.c +++ sawfish-1.5.3/src/windows.c @@ -1286,6 +1286,13 @@ associated with WINDOW. Possible keys in hints = &VWIN(win)->hints; flags = hints->flags; + /* workaround stuff like Firefox 17 that + * has enormous max-width/maxh-height */ + if (hints->max_width >= 32767) + hints->max_width = 32767; + if (hints->max_height >= 32767) + hints->max_height = 32767; + /* Some sanity checking */ if ((flags & PMinSize) && (hints->min_width < 0 || hints->min_height < 0))