1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: command.c |
2 | * File: command.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: command.C,v 1.6 2003/11/25 17:11:33 pcg Exp $ |
4 | * $Id: command.C,v 1.7 2003/11/25 17:34:47 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> |
… | |
… | |
1006 | quick_timeout |= R->want_full_refresh; |
1006 | quick_timeout |= R->want_full_refresh; |
1007 | #endif |
1007 | #endif |
1008 | #endif |
1008 | #endif |
1009 | } |
1009 | } |
1010 | |
1010 | |
1011 | #ifdef POINTER_BLANK |
|
|
1012 | void |
1011 | void |
1013 | rxvt_term::pointer_unblank () |
1012 | rxvt_term::pointer_unblank () |
1014 | { |
1013 | { |
1015 | if (!(Options & Opt_pointerBlank)) |
|
|
1016 | return; |
|
|
1017 | |
|
|
1018 | XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); |
1014 | XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); |
1019 | rxvt_recolour_cursor (this); |
1015 | rxvt_recolour_cursor (this); |
|
|
1016 | |
|
|
1017 | #ifdef POINTER_BLANK |
1020 | hidden_pointer = 0; |
1018 | hidden_pointer = 0; |
1021 | |
1019 | |
|
|
1020 | if (Options & Opt_pointerBlank) |
1022 | pointer_ev.start (NOW + pointerBlankDelay); |
1021 | pointer_ev.start (NOW + pointerBlankDelay); |
|
|
1022 | #endif |
1023 | } |
1023 | } |
1024 | |
1024 | |
|
|
1025 | #ifdef POINTER_BLANK |
1025 | void |
1026 | void |
1026 | rxvt_term::pointer_blank () |
1027 | rxvt_term::pointer_blank () |
1027 | { |
1028 | { |
1028 | pointer_ev.stop (); |
1029 | pointer_ev.stop (); |
1029 | |
1030 | |