1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: command.c |
2 | * File: command.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: command.C,v 1.26 2003/12/24 06:26:52 pcg Exp $ |
4 | * $Id: command.C,v 1.27 2003/12/30 01: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> |
… | |
… | |
752 | rxvt_process_x_event (this, &xev); |
752 | rxvt_process_x_event (this, &xev); |
753 | } |
753 | } |
754 | while (XPending (Xdisplay)); |
754 | while (XPending (Xdisplay)); |
755 | } |
755 | } |
756 | |
756 | |
|
|
757 | #ifdef CURSOR_BLINK |
757 | void |
758 | void |
758 | rxvt_term::blink_cb (time_watcher &w) |
759 | rxvt_term::blink_cb (time_watcher &w) |
759 | { |
760 | { |
760 | w.at += BLINK_INTERVAL; |
761 | w.at += BLINK_INTERVAL; |
761 | hidden_cursor = !hidden_cursor; |
762 | hidden_cursor = !hidden_cursor; |
762 | want_refresh = 1; |
763 | want_refresh = 1; |
763 | } |
764 | } |
|
|
765 | #endif |
764 | |
766 | |
765 | void |
767 | void |
766 | rxvt_term::x_cb (io_watcher &w, short revents) |
768 | rxvt_term::x_cb (io_watcher &w, short revents) |
767 | { |
769 | { |
768 | SET_R (this); |
770 | SET_R (this); |