--- rxvt-unicode/src/main.C 2005/02/19 01:07:58 1.141 +++ rxvt-unicode/src/main.C 2005/02/19 04:16:49 1.142 @@ -1252,6 +1252,7 @@ if (width == 0 || height == 0) { XGetWindowAttributes (display->display, display->root, &wattr); + if (width == 0) width = wattr.width - szHint.base_width; if (height == 0)