]> git.lyx.org Git - features.git/commit
* Application:
authorAbdelrazak Younes <younes@lyx.org>
Tue, 7 Nov 2006 17:19:33 +0000 (17:19 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 7 Nov 2006 17:19:33 +0000 (17:19 +0000)
commitc2a49b5b0d0f864db7ca36160bbd659faaa1f44c
treeef20f29ee278f7508436edc47d673b2382ffca2a
parent06d51efd7ccb0fd9cdc881113b9c683ea0f01228
* Application:
  - setBufferView(): deleted
  - currentView(), setCurrentView(): new method to set the current LyXView

* GuiApplication::x11EventFilter(): use currentView().view() to get the current BufferView. This should solves the X11 selection bug.

* WorkArea:
  - dispatch(): redraw only if needRedraw in preparation for the painting optimization patch. Show the cursor immediately on mouse click.
  - setBufferView(): remove call to Application::setBufferView()

* GuiWorkArea:
  - focusInEvent(): update only if we changed LyXView
  - focusInEvent(): stop the cursor only if we changed LyXView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15783 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/Application.C
src/frontends/Application.h
src/frontends/WorkArea.C
src/frontends/qt4/GuiApplication.C
src/frontends/qt4/GuiWorkArea.C