]> git.lyx.org Git - features.git/commit
Fixup 5202d44e: make caret geometry update lazy
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Sep 2020 13:45:30 +0000 (15:45 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Sep 2020 13:52:43 +0000 (15:52 +0200)
commitdc35f1ddf49f8944001a916ad2bcbf2965401cc4
treee27061c5b21157efcc91a8c379c13d1993398b34
parent9b18a9b609c0af78b4bb08667fd8e02ebd897d5e
Fixup 5202d44e: make caret geometry update lazy

Instead of working around crashes in update of caret geometry, only
request it as needed. The actual computaiton will take place just
before painting the caret.

It might be that this is overkill and that caret geometry should be
updated unconditionally. One would have to to some timing while idle to
ascertain that.

Fixes bug #11912.
src/frontends/qt/GuiWorkArea.cpp
src/frontends/qt/GuiWorkArea_Private.h