mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Better comment for the event queue magic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9615 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6c6c7dc948
commit
ed0d2079b8
@ -1,3 +1,7 @@
|
||||
2005-02-11 John Levon <levon@movementarian.org>
|
||||
|
||||
* screen.C: clarify comment about event queue magic
|
||||
|
||||
2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
|
||||
|
||||
* LyXView.C (updateLayoutChoice): minor change to some comments
|
||||
|
@ -147,8 +147,14 @@ void LyXScreen::checkAndGreyOut()
|
||||
|
||||
void LyXScreen::showCursor(BufferView & bv)
|
||||
{
|
||||
// this is needed to make sure we copy back the right
|
||||
// pixmap on the hide for the Qt frontend
|
||||
// You are not expected to understand this. This forces Qt
|
||||
// (the problem case) to deal with its event queue. This is
|
||||
// necessary when holding down a key such as 'page down' or
|
||||
// just typing: without this processing of the event queue,
|
||||
// the cursor gets ahead of itself without a selection or
|
||||
// workarea redraw having a chance to keep up. If you think
|
||||
// you can remove this, try selecting text with the mouse
|
||||
// in Qt, or holding Page Down on the User's Guide.
|
||||
lyx_gui::sync_events();
|
||||
|
||||
if (cursor_visible_)
|
||||
|
Loading…
Reference in New Issue
Block a user