repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 4a406a635d1160f1b325b5abcd5338a657ce6aa1:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 4a406a635d1160f1b325b5abcd5338a657ce6aa1
Author: Marc Lehmann 
Date:   Tue Nov 25 17:34:47 2003 +0000

    *** empty log message ***

diff --git a/src/command.C b/src/command.C
index 65b44b5d0026fe788089081c394fcf37ef67891f..
index ..89395f703ccc612b353610e0b8c46e1f25ecb7f1 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 2ae8bdb504fed384b61ef7efb75214a65b1f16dc..
index ..58bf9aaba154e886f11a84d70520b678152dc953 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

-----END OF PAGE-----