--- rxvt-unicode/src/main.C 2003/11/25 15:25:17 1.4 +++ rxvt-unicode/src/main.C 2003/11/26 10:42:34 1.7 @@ -1,7 +1,7 @@ /*--------------------------------*-C-*---------------------------------* * File: main.c *----------------------------------------------------------------------* - * $Id: main.C,v 1.4 2003/11/25 15:25:17 pcg Exp $ + * $Id: main.C,v 1.7 2003/11/26 10:42:34 pcg Exp $ * * All portions of code are copyright by their respective author/s. * Copyright (c) 1992 John Bovey, University of Kent at Canterbury @@ -60,8 +60,14 @@ } rxvt_term::rxvt_term () -: pty_ev(this, &rxvt_term::pty_cb), - x_ev (this, &rxvt_term::x_cb) +: pty_ev (this, &rxvt_term::pty_cb), +#ifdef CURSOR_BLINK + blink_ev (this, &rxvt_term::blink_cb), +#endif +#ifdef POINTER_BLANK + pointer_ev (this, &rxvt_term::pointer_cb), +#endif + x_ev (this, &rxvt_term::x_cb) { cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; } @@ -158,6 +164,8 @@ x_ev.start (Xfd, EVENT_READ); pty_ev.start (cmd_fd, EVENT_READ); + flush (); + return true; }