repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 4a406a635d1160f1b325b5abcd5338a657ce6aa1: path_to: revision_to:
commit 4a406a635d1160f1b325b5abcd5338a657ce6aa1 Author: Marc LehmannDate: Tue Nov 25 17:34:47 2003 +0000 *** empty log message *** diff --git a/src/command.C b/src/command.C
--- 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
--- 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
-----END OF PAGE-----