ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/main.C
(Generate patch)

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.140 by root, Thu Feb 17 15:07:48 2005 UTC vs.
Revision 1.142 by root, Sat Feb 19 04:16:49 2005 UTC

253 // XDestroyWindow (disp, menuBar.win); 253 // XDestroyWindow (disp, menuBar.win);
254#endif 254#endif
255 delete TermWin.drawable; 255 delete TermWin.drawable;
256 // destroy all windows 256 // destroy all windows
257 if (TermWin.parent[0] 257 if (TermWin.parent[0]
258#if ENABLE_FRILLS 258#if ENABLE_XEMBED
259 && !rs[Rs_embed] 259 && !rs[Rs_embed]
260#endif 260#endif
261 ) 261 )
262 XDestroyWindow (disp, TermWin.parent[0]); 262 XDestroyWindow (disp, TermWin.parent[0]);
263 } 263 }
1250 XWindowAttributes wattr; 1250 XWindowAttributes wattr;
1251 1251
1252 if (width == 0 || height == 0) 1252 if (width == 0 || height == 0)
1253 { 1253 {
1254 XGetWindowAttributes (display->display, display->root, &wattr); 1254 XGetWindowAttributes (display->display, display->root, &wattr);
1255
1255 if (width == 0) 1256 if (width == 0)
1256 width = wattr.width - szHint.base_width; 1257 width = wattr.width - szHint.base_width;
1257 if (height == 0) 1258 if (height == 0)
1258 height = wattr.height - szHint.base_height; 1259 height = wattr.height - szHint.base_height;
1259 } 1260 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines