… | |
… | |
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 | } |