… | |
… | |
11 | * Copyright (c) 1997 mj olesen <olesen@me.QueensU.CA> |
11 | * Copyright (c) 1997 mj olesen <olesen@me.QueensU.CA> |
12 | * - extensive modifications |
12 | * - extensive modifications |
13 | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
13 | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
14 | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> |
14 | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> |
15 | * - extensive modifications |
15 | * - extensive modifications |
|
|
16 | * Copyright (c) 2003-2004 Marc Lehmann <pcg@goof.com> |
16 | * |
17 | * |
17 | * This program is free software; you can redistribute it and/or modify |
18 | * This program is free software; you can redistribute it and/or modify |
18 | * it under the terms of the GNU General Public License as published by |
19 | * it under the terms of the GNU General Public License as published by |
19 | * the Free Software Foundation; either version 2 of the License, or |
20 | * the Free Software Foundation; either version 2 of the License, or |
20 | * (at your option) any later version. |
21 | * (at your option) any later version. |
… | |
… | |
261 | create_windows (argc, argv); |
262 | create_windows (argc, argv); |
262 | |
263 | |
263 | init_xlocale (); |
264 | init_xlocale (); |
264 | |
265 | |
265 | scr_reset (); /* initialize screen */ |
266 | scr_reset (); /* initialize screen */ |
266 | #ifdef RXVT_GRAPHICS |
|
|
267 | Gr_reset (); /* reset graphics */ |
|
|
268 | #endif |
|
|
269 | |
267 | |
270 | #if 0 |
268 | #if 0 |
271 | XSynchronize (display->display, True); |
269 | XSynchronize (display->display, True); |
272 | #endif |
270 | #endif |
273 | |
271 | |
… | |
… | |
994 | 0, TermWin_TotalWidth (), menuBar_TotalHeight ()); |
992 | 0, TermWin_TotalWidth (), menuBar_TotalHeight ()); |
995 | |
993 | |
996 | XMoveResizeWindow (display->display, TermWin.vt, window_vt_x, |
994 | XMoveResizeWindow (display->display, TermWin.vt, window_vt_x, |
997 | window_vt_y, TermWin_TotalWidth (), |
995 | window_vt_y, TermWin_TotalWidth (), |
998 | TermWin_TotalHeight ()); |
996 | TermWin_TotalHeight ()); |
999 | #ifdef RXVT_GRAPHICS |
|
|
1000 | if (old_height) |
|
|
1001 | Gr_Resize (old_width - szHint.base_width, |
|
|
1002 | old_height - szHint.base_height); |
|
|
1003 | #endif |
|
|
1004 | scr_clear (); |
997 | scr_clear (); |
1005 | #ifdef XPM_BACKGROUND |
998 | #ifdef XPM_BACKGROUND |
1006 | resize_pixmap (); |
999 | resize_pixmap (); |
1007 | #endif |
1000 | #endif |
1008 | |
1001 | |