1 | /*--------------------------------*-C-*--------------------------------------* |
1 | /*--------------------------------*-C-*--------------------------------------* |
2 | * File: screen.c |
2 | * File: screen.c |
3 | *---------------------------------------------------------------------------* |
3 | *---------------------------------------------------------------------------* |
4 | * $Id: screen.C,v 1.14 2003/12/26 07:42:23 pcg Exp $ |
4 | * $Id: screen.C,v 1.16 2004/01/16 22:11:09 pcg Exp $ |
5 | * |
5 | * |
6 | * Copyright (c) 1997-2001 Geoff Wing <gcw@pobox.com> |
6 | * Copyright (c) 1997-2001 Geoff Wing <gcw@pobox.com> |
7 | * |
7 | * |
8 | * This program is free software; you can redistribute it and/or modify |
8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
447 | /* then so is screen.rend[i] */ |
447 | /* then so is screen.rend[i] */ |
448 | assert(screen.rend[i]); |
448 | assert(screen.rend[i]); |
449 | } |
449 | } |
450 | #endif |
450 | #endif |
451 | |
451 | |
452 | delete talloc; |
452 | delete talloc; talloc = 0; |
453 | delete ralloc; |
453 | delete ralloc; ralloc = 0; |
454 | |
454 | |
455 | free (screen.text); |
455 | free (screen.text); |
456 | free (screen.tlen); |
456 | free (screen.tlen); |
457 | free (screen.rend); |
457 | free (screen.rend); |
458 | free (drawn_text); |
458 | free (drawn_text); |
… | |
… | |
2565 | } |
2565 | } |
2566 | |
2566 | |
2567 | void |
2567 | void |
2568 | rxvt_term::incr_cb (time_watcher &w) |
2568 | rxvt_term::incr_cb (time_watcher &w) |
2569 | { |
2569 | { |
2570 | w.stop (); |
|
|
2571 | selection_wait = Sel_none; |
2570 | selection_wait = Sel_none; |
2572 | |
2571 | |
2573 | rxvt_print_error("data loss: timeout on INCR selection paste"); |
2572 | rxvt_print_error ("data loss: timeout on INCR selection paste"); |
2574 | } |
2573 | } |
2575 | |
2574 | |
2576 | /* |
2575 | /* |
2577 | * INCR support originally provided by Paul Sheer <psheer@obsidian.co.za> |
2576 | * INCR support originally provided by Paul Sheer <psheer@obsidian.co.za> |
2578 | */ |
2577 | */ |