From 475fb5e65b29223712aa8826fd065c23c96b9565 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 5 Sep 2009 15:40:07 +0000 Subject: [PATCH] X11 compile fix, sorry. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31293 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiApplication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index ef0427d5ba..da28c02317 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -1638,7 +1638,7 @@ bool GuiApplication::x11EventFilter(XEvent * xev) if (xev->xselectionrequest.selection != XA_PRIMARY) break; LYXERR(Debug::SELECTION, "X requested selection."); - BufferView * bv = current_view_->view(); + BufferView * bv = current_view_->currentBufferView(); if (bv) { docstring const sel = bv->requestSelection(); if (!sel.empty()) @@ -1650,7 +1650,7 @@ bool GuiApplication::x11EventFilter(XEvent * xev) if (xev->xselectionclear.selection != XA_PRIMARY) break; LYXERR(Debug::SELECTION, "Lost selection."); - BufferView * bv = current_view_->view(); + BufferView * bv = current_view_->currentBufferView(); if (bv) bv->clearSelection(); break; -- 2.39.5