1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: command.c |
2 | * File: command.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: command.C,v 1.28 2004/01/16 22:11:09 pcg Exp $ |
4 | * $Id: command.C,v 1.30 2004/01/29 21:35:58 pcg Exp $ |
5 | * |
5 | * |
6 | * All portions of code are copyright by their respective author/s. |
6 | * All portions of code are copyright by their respective author/s. |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
8 | * - original version |
8 | * - original version |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
… | |
… | |
1020 | quick_timeout |= R->want_full_refresh; |
1020 | quick_timeout |= R->want_full_refresh; |
1021 | #endif |
1021 | #endif |
1022 | #endif |
1022 | #endif |
1023 | } |
1023 | } |
1024 | |
1024 | |
|
|
1025 | #ifdef POINTER_BLANK |
1025 | void |
1026 | void |
1026 | rxvt_term::pointer_unblank () |
1027 | rxvt_term::pointer_unblank () |
1027 | { |
1028 | { |
1028 | XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); |
1029 | XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); |
1029 | recolour_cursor (); |
1030 | recolour_cursor (); |
1030 | |
1031 | |
1031 | #ifdef POINTER_BLANK |
|
|
1032 | hidden_pointer = 0; |
1032 | hidden_pointer = 0; |
1033 | |
1033 | |
1034 | if (Options & Opt_pointerBlank) |
1034 | if (Options & Opt_pointerBlank) |
1035 | pointer_ev.start (NOW + pointerBlankDelay); |
1035 | pointer_ev.start (NOW + pointerBlankDelay); |
1036 | #endif |
|
|
1037 | } |
1036 | } |
1038 | |
1037 | |
1039 | #ifdef POINTER_BLANK |
|
|
1040 | void |
1038 | void |
1041 | rxvt_term::pointer_blank () |
1039 | rxvt_term::pointer_blank () |
1042 | { |
1040 | { |
1043 | if (!(Options & Opt_pointerBlank)) |
1041 | if (!(Options & Opt_pointerBlank)) |
1044 | return; |
1042 | return; |
… | |
… | |
2693 | break; |
2691 | break; |
2694 | #endif |
2692 | #endif |
2695 | |
2693 | |
2696 | case CSI_78: /* DECREQTPARM */ |
2694 | case CSI_78: /* DECREQTPARM */ |
2697 | if (arg[0] == 0 || arg[0] == 1) |
2695 | if (arg[0] == 0 || arg[0] == 1) |
2698 | R->tt_printf("\033[%d;1;1;112;112;1;0x", arg[0] + 2); |
2696 | R->tt_printf("\033[%d;1;1;128;128;1;0x", arg[0] + 2); |
2699 | /* FALLTHROUGH */ |
2697 | /* FALLTHROUGH */ |
2700 | |
2698 | |
2701 | default: |
2699 | default: |
2702 | break; |
2700 | break; |
2703 | } |
2701 | } |