From 9caaf30e1a59aad466e85ea2b0c93a0754bdbb94 Mon Sep 17 00:00:00 2001 From: pcg Date: Tue, 25 Nov 2003 17:34:47 +0000 Subject: [PATCH] *** empty log message *** --- src/command.C | 13 +++++++------ src/rxvtd.C | 3 +-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/command.C b/src/command.C index 4fea5cdf..0aa83653 100644 --- a/src/command.C +++ b/src/command.C @@ -1,7 +1,7 @@ /*--------------------------------*-C-*---------------------------------* * File: command.c *----------------------------------------------------------------------* - * $Id: command.C,v 1.6 2003-11-25 17:11:33 pcg Exp $ + * $Id: command.C,v 1.7 2003-11-25 17:34:47 pcg Exp $ * * All portions of code are copyright by their respective author/s. * Copyright (c) 1992 John Bovey, University of Kent at Canterbury @@ -1008,20 +1008,21 @@ rxvt_cmd_getc(pR) #endif } -#ifdef POINTER_BLANK void rxvt_term::pointer_unblank () { - if (!(Options & Opt_pointerBlank)) - return; - XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); rxvt_recolour_cursor (this); + +#ifdef POINTER_BLANK hidden_pointer = 0; - pointer_ev.start (NOW + pointerBlankDelay); + if (Options & Opt_pointerBlank) + pointer_ev.start (NOW + pointerBlankDelay); +#endif } +#ifdef POINTER_BLANK void rxvt_term::pointer_blank () { diff --git a/src/rxvtd.C b/src/rxvtd.C index 2ae8bdb5..58bf9aab 100644 --- a/src/rxvtd.C +++ b/src/rxvtd.C @@ -132,10 +132,9 @@ void server::read_cb (io_watcher &w, short revents) environ = envv.begin (); rxvt_init (argv.size (), argv.begin ()); - //dR; - //rxvt_main_loop (aR); environ = old_environ; + envv.clear (); // can't yet save the env 'cause rxvt modifies it :( } } else -- 2.34.1