*** empty log message ***
authorpcg <pcg>
Tue, 25 Nov 2003 17:34:47 +0000 (17:34 +0000)
committerpcg <pcg>
Tue, 25 Nov 2003 17:34:47 +0000 (17:34 +0000)
src/command.C
src/rxvtd.C

index 4fea5cdf28d482ac6538abd9f7b11d3a7900f260..0aa83653a6e7e2f7c79098d0a7296c28a1c0998e 100644 (file)
@@ -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 <jdb@ukc.ac.uk>
@@ -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 ()
 {
index 2ae8bdb504fed384b61ef7efb75214a65b1f16dc..58bf9aaba154e886f11a84d70520b678152dc953 100644 (file)
@@ -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