mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Never not show caret when window does not have focus
A non blinking cursor could appear when hovering on inset button. Fixes bug #12762.
This commit is contained in:
parent
e533118b38
commit
21dcb4782f
@ -474,8 +474,9 @@ void GuiWorkArea::Private::resizeBufferView()
|
||||
|
||||
void GuiWorkArea::Private::resetCaret()
|
||||
{
|
||||
// Don't start blinking if the cursor isn't on screen.
|
||||
if (!buffer_view_->caretInView())
|
||||
// Don't start blinking if the cursor isn't on screen or the window
|
||||
// does not have focus
|
||||
if (!buffer_view_->caretInView() || !p->hasFocus())
|
||||
return;
|
||||
|
||||
// completion indicator
|
||||
|
Loading…
Reference in New Issue
Block a user