*** empty log message ***
authorroot <root>
Wed, 5 Nov 2008 16:21:18 +0000 (16:21 +0000)
committerroot <root>
Wed, 5 Nov 2008 16:21:18 +0000 (16:21 +0000)
Changes
src/command.C

diff --git a/Changes b/Changes
index ecf787d97a514b6a2fcb56d1c420a26669c52b4c..295f54c1a1b7dffbbe3ee68f0043c7267ae70e58 100644 (file)
--- a/Changes
+++ b/Changes
@@ -19,7 +19,6 @@ WISH: load system-wide config file even if we don't have one
 WISH: look into XAddConnectionWatch, does anybody need that?
 DUMB: support tex fonts
 
-TODO: cursor restore/rendition restore on rmcup
        - NOTICE: this release updates terminfo/termcap.
        - the aterm code now frees the as visual and image manager objects
           when a window was closed.
@@ -61,7 +60,8 @@ TODO: cursor restore/rendition restore on rmcup
         - new perl extension "overlay-osc", for status displays and the like.
         - fix some minor cursor drawing issues with overlays by allowing
           overlays to modify screen flags (to disable the cursor themselves).
-        - work around programs not restoring rstyle before rmcup.
+        - work around programs not restoring rstyle before rmcup
+          (analysed by Miroslav Lichvar).
 
 9.05 Sun Jun 15 20:09:20 CEST 2008
        - new option --cd/chdir to set the starting working directory.
index 070d54c65fc38be920157eb60dfec8ccaab21bda..9a99c29a9cec90f71e35a97a731f85f5307b936b 100644 (file)
@@ -3753,15 +3753,17 @@ rxvt_term::process_terminal_mode (int mode, int priv UNUSED, unsigned int nargs,
               scr_change_screen (state);
               break;
             case 1049:         /* secondary screen w/ clearing first */
-              if (state)
-                scr_cursor (SAVE);
+              if (option (Opt_secondaryScreen))
+                if (state)
+                  scr_cursor (SAVE);
 
               scr_change_screen (state);
 
-              if (state)
-                scr_erase_screen (2);
-              else
-                scr_cursor (RESTORE);
+              if (option (Opt_secondaryScreen))
+                if (state)
+                  scr_erase_screen (2);
+                else
+                  scr_cursor (RESTORE);
               break;
             default:
               break;