This is a tentative bug fix for bug #942. This fixes a lot of

problems in the 1.1_BRANCH stream.  Unfortunately, I don't have
a HEAD environment to test, so I'm keeping my fingers crossed.

Lars said something about moving from characters to pixels,
and this problem seems to be related to that.  We'll probably
remove this crude hack later, when the cause of the
problem (returning events with x' > max columns) is
fixed.

svn path=/trunk/kdebase/konsole/; revision=18402
wilder-portage
Peter Silva 27 years ago
parent a5dbdb4a2c
commit 7270ccfe0a
  1. 3
      src/TEScreen.C

@ -173,6 +173,9 @@ void TEScreen::setSelExtentXY(const int x, const int y)
}
else
{
/* FIXME, HACK to correct for x too far to the right... */
if (( x == columns )|| (x == 0)) l--;
sel_TL = sel_begin;
sel_BR = l;
}

Loading…
Cancel
Save