- // This code is currently meaningful only for the Qt frontend.
- // This is the place (like below in hideCursor) where
- // processEvents is being called, and things like keystrokes and
- // mouse clicks are being handed to the LyX core, once every
- // cursor blink.
- // THERE IS NOT SUPPOSED TO BE ANY OTHER CALL TO processEvents
- // ANYWHERE ELSE.
- // in BufferView::Pimpl::update() and here, the sync_allowed_
- // guard is set/cleared which is used here to prevent recursive
- // calls to screen update. startUpdating() and doneUpdating() in
- // coordcache again contain asserts to detect such recursion.
- if (sync_allowed_)
- lyx_gui::sync_events();
-