… | |
… | |
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-2010 Marc Lehmann <pcg@goof.com> |
16 | * Copyright (c) 2003-2010 Marc Lehmann <schmorp@schmorp.de> |
17 | * |
17 | * |
18 | * 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 |
19 | * 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 |
20 | * the Free Software Foundation; either version 2 of the License, or |
20 | * the Free Software Foundation; either version 2 of the License, or |
21 | * (at your option) any later version. |
21 | * (at your option) any later version. |
… | |
… | |
187 | #endif |
187 | #endif |
188 | child_ev.set <rxvt_term, &rxvt_term::child_cb> (this); |
188 | child_ev.set <rxvt_term, &rxvt_term::child_cb> (this); |
189 | flush_ev.set <rxvt_term, &rxvt_term::flush_cb> (this); |
189 | flush_ev.set <rxvt_term, &rxvt_term::flush_cb> (this); |
190 | destroy_ev.set <rxvt_term, &rxvt_term::destroy_cb> (this); |
190 | destroy_ev.set <rxvt_term, &rxvt_term::destroy_cb> (this); |
191 | pty_ev.set <rxvt_term, &rxvt_term::pty_cb> (this); |
191 | pty_ev.set <rxvt_term, &rxvt_term::pty_cb> (this); |
192 | incr_ev.set <rxvt_term, &rxvt_term::incr_cb> (this); |
|
|
193 | termwin_ev.set <rxvt_term, &rxvt_term::x_cb> (this); |
192 | termwin_ev.set <rxvt_term, &rxvt_term::x_cb> (this); |
194 | vt_ev.set <rxvt_term, &rxvt_term::x_cb> (this); |
193 | vt_ev.set <rxvt_term, &rxvt_term::x_cb> (this); |
195 | |
194 | |
196 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
195 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
197 | |
196 | |
… | |
… | |
273 | // TODO: manage env vars in child only(!) |
272 | // TODO: manage env vars in child only(!) |
274 | free (env_display); |
273 | free (env_display); |
275 | free (env_term); |
274 | free (env_term); |
276 | free (locale); |
275 | free (locale); |
277 | free (v_buffer); |
276 | free (v_buffer); |
278 | free (incr_buf); |
277 | |
|
|
278 | delete selection_req; |
279 | |
279 | |
280 | delete envv; |
280 | delete envv; |
281 | delete argv; |
281 | delete argv; |
282 | |
282 | |
283 | #ifdef KEYSYM_RESOURCE |
283 | #ifdef KEYSYM_RESOURCE |
… | |
… | |
319 | #endif |
319 | #endif |
320 | scrollbar_ev.stop (display); |
320 | scrollbar_ev.stop (display); |
321 | #if ENABLE_TRANSPARENCY || ENABLE_PERL |
321 | #if ENABLE_TRANSPARENCY || ENABLE_PERL |
322 | rootwin_ev.stop (display); |
322 | rootwin_ev.stop (display); |
323 | #endif |
323 | #endif |
324 | incr_ev.stop (); |
|
|
325 | termwin_ev.stop (display); |
324 | termwin_ev.stop (display); |
326 | vt_ev.stop (display); |
325 | vt_ev.stop (display); |
327 | } |
326 | } |
328 | |
327 | |
329 | flush_ev.stop (); |
328 | flush_ev.stop (); |