D13089: Fix mouse coords for programs interested with it

Matteo Beniamino noreply at phabricator.kde.org
Thu May 24 09:56:52 UTC 2018


mbeniamino created this revision.
mbeniamino added a project: Konsole.
Restricted Application added a subscriber: konsole-devel.
mbeniamino requested review of this revision.

REVISION SUMMARY
  In normal usage konsole offsets the position of the mouse by half a char so that the user can extend the selection to the last column. When using programs interested with mouse (vim, mc, aptitude, etc...) konsole shouldn't apply the offset since mouse events should always apply to the character cell under the pointer. This patch sets the 'edge' flag of getCharacterPosition to _mouseMarks that according to the comments is set to false when such programs are running.

REPOSITORY
  R319 Konsole

REVISION DETAIL
  https://phabricator.kde.org/D13089

AFFECTED FILES
  src/TerminalDisplay.cpp

To: mbeniamino
Cc: konsole-devel, herrold, ngraham, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180524/80a33519/attachment.html>


More information about the konsole-devel mailing list