--- rxvt-unicode/src/main.C 2005/02/16 21:37:10 1.139 +++ rxvt-unicode/src/main.C 2005/02/19 04:16:49 1.142 @@ -255,7 +255,7 @@ delete TermWin.drawable; // destroy all windows if (TermWin.parent[0] -#if ENABLE_FRILLS +#if ENABLE_XEMBED && !rs[Rs_embed] #endif ) @@ -847,7 +847,7 @@ #if 0 // TIOCSWINSZ⎈ is supposed to do this automatically and correctly if (cmd_pid) /* force through to the command */ - kill (cmd_pid, SIGWINCH); + kill (-cmd_pid, SIGWINCH); #endif } @@ -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)