* src/frontends/qt4/GuiWorkArea.C: fix cursor positioning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15541 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2006-10-24 21:12:46 +00:00
parent 06e52e5e31
commit fe2abd3846

View File

@ -599,7 +599,7 @@ void GuiWorkArea::expose(int x, int y, int w, int h)
void GuiWorkArea::showCursor(int x, int y, int h, CursorShape shape) void GuiWorkArea::showCursor(int x, int y, int h, CursorShape shape)
{ {
cursor_->setGeometry(x, y, 2, h); cursor_->setGeometry(x + 2, y, 2, h);
cursor_->shape_ = shape; cursor_->shape_ = shape;
cursor_->on_ = true; cursor_->on_ = true;
cursor_->show(); cursor_->show();