fix cursor when anti aliasing is enabled
ClosedPublic

Authored by sandsmark on Dec 7 2018, 8:11 PM.

Details

Summary

When there is a margin of 1 pixel, but some of the anti-aliasing
"blur" leaks to 0,0. so it is fixed with a full update() (e. g. when
it regains focus), but not when just some content updates in the
window. Without this it draws outside the content rect, most
visible as a vertical line if the cursor is completely to the left and
then moves.

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sandsmark created this revision.Dec 7 2018, 8:11 PM
Restricted Application added a project: Konsole. · View Herald TranscriptDec 7 2018, 8:11 PM
Restricted Application added a subscriber: konsole-devel. · View Herald Transcript
sandsmark requested review of this revision.Dec 7 2018, 8:11 PM

i. e. there is a _margin of 1 pixel, but some of the antialiasing "blur" leaks to 0,0. so it is fixed with a full update() (e. g. when it regains focus), but not when just some content updates in the window.

hindenburg edited the summary of this revision. (Show Details)Dec 10 2018, 3:09 PM
hindenburg accepted this revision.Dec 10 2018, 3:13 PM
This revision is now accepted and ready to land.Dec 10 2018, 3:13 PM
This revision was automatically updated to reflect the committed changes.