Skip to content
Commit 8f02c3ed authored by Matteo Beniamino's avatar Matteo Beniamino Committed by Kurt Hindenburg
Browse files

Fix mouse coords for programs interested with it

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 !_usesMouseTracking.

Reviewers: hindenburg, ahmadsamir

Reviewed By: hindenburg

Subscribers: konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D13089
parent 033e2031
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment