diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-08-26 20:06:18 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-08-26 20:06:18 +0000 |
commit | 5c6698c8bd9ec6dbd60d36295c0cf2e19430137e (patch) | |
tree | dbcb2b0611bb09a12644791edafe3107fe349326 /app/xterm/button.c | |
parent | f3dc14d6ff296b48660a7519667da617fdccbad5 (diff) |
Update to xterm 296. Sixel graphics disabled for now.
Diffstat (limited to 'app/xterm/button.c')
-rw-r--r-- | app/xterm/button.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/xterm/button.c b/app/xterm/button.c index a72a856e8..79ec8bd7d 100644 --- a/app/xterm/button.c +++ b/app/xterm/button.c @@ -1,4 +1,4 @@ -/* $XTermId: button.c,v 1.456 2013/05/12 22:16:26 tom Exp $ */ +/* $XTermId: button.c,v 1.458 2013/07/01 00:50:20 tom Exp $ */ /* * Copyright 1999-2012,2013 by Thomas E. Dickey @@ -75,7 +75,6 @@ button.c Handles button events in the terminal emulator. #include <data.h> #include <error.h> #include <menu.h> -#include <xcharmouse.h> #include <charclass.h> #include <xstrings.h> @@ -3346,13 +3345,6 @@ ComputeSelect(XtermWidget xw, screen->endSel.col = 0; NextRow(endSel); } - /* Clicking on right edge will make endSel.col == screen->max_col, - * so clamp it. Otherwise XTERM_CELL and friends will fail assertion - */ - if (screen->endSel.col > screen->max_col) { - screen->endSel.col = screen->max_col; - TRACE(("Select_WORD endSel.col clamped to %d\n", screen->endSel.col)); - } } #if OPT_WIDE_CHARS if (screen->endSel.col |