--- rxvt-unicode/src/main.C 2005/02/17 15:07:48 1.140 +++ rxvt-unicode/src/main.C 2005/02/20 19:45:30 1.144 @@ -254,11 +254,7 @@ #endif delete TermWin.drawable; // destroy all windows - if (TermWin.parent[0] -#if ENABLE_FRILLS - && !rs[Rs_embed] -#endif - ) + if (TermWin.parent[0]) XDestroyWindow (disp, TermWin.parent[0]); } @@ -961,7 +957,7 @@ rxvt_term::set_title (const char *str) { set_string_property (XA_WM_NAME, str); -#if ENABLE_FRILLS +#if ENABLE_EWMH set_utf8_property (xa[XA_NET_WM_NAME], str); #endif } @@ -970,7 +966,7 @@ rxvt_term::set_icon_name (const char *str) { set_string_property (XA_WM_ICON_NAME, str); -#if ENABLE_FRILLS +#if ENABLE_EWMH set_utf8_property (xa[XA_NET_WM_ICON_NAME], str); #endif } @@ -1252,6 +1248,7 @@ if (width == 0 || height == 0) { XGetWindowAttributes (display->display, display->root, &wattr); + if (width == 0) width = wattr.width - szHint.base_width; if (height == 0)