repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: a291d86094a5eb4d610757e9f9654d7f52d3138f:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit a291d86094a5eb4d610757e9f9654d7f52d3138f
Author: Marc Lehmann 
Date:   Wed Nov 2 10:53:12 2011 +0000

    optimisation||| effz|||

diff --git a/src/screen.C b/src/screen.C
index f785afa16b4f9f832d4f1c389b2c164fb6672044..
index ..da174234be5c7e64efe6f166b7ad06e4b7030da8 100644
--- a/src/screen.C
+++ b/src/screen.C
@@ -690,13 +690,7 @@ rxvt_term::scr_scroll_text (int row1, int row2, int count) NOTHROW
           selection.end.row  -= count;
           selection.mark.row -= count;

-          if (selection.beg.row < top_row
-              || selection.end.row < top_row
-              || selection.mark.row < top_row)
-            {
-              CLEAR_ALL_SELECTION ();
-              selection.op = SELECTION_CLEAR;
-            }
+          selection_check (0);
         }

       // finally move the view window, if desired

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