summaryrefslogtreecommitdiff
path: root/avmedia/source/opengl/oglwindow.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-04-28 16:32:33 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-04-28 17:26:35 +0200
commit1736e5d91c76a824ffcb052c5e769444d3a0ed5e (patch)
treee7e89f3e6bc816bfe3e150e2e4d367ebb033fbfd /avmedia/source/opengl/oglwindow.cxx
parent0a1746e942224851b584f5902d7b1e0ca496fdab (diff)
Slideshow: display OpenGL window also during slideshow
Use vcl based player window initialization. Change-Id: If5c2198fa891e1d3ad218c8b7e1495161c0d6c25
Diffstat (limited to 'avmedia/source/opengl/oglwindow.cxx')
-rw-r--r--avmedia/source/opengl/oglwindow.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/avmedia/source/opengl/oglwindow.cxx b/avmedia/source/opengl/oglwindow.cxx
index b67456250e46..a1b4a409cf87 100644
--- a/avmedia/source/opengl/oglwindow.cxx
+++ b/avmedia/source/opengl/oglwindow.cxx
@@ -119,6 +119,8 @@ awt::Rectangle SAL_CALL OGLWindow::getPosSize()
void SAL_CALL OGLWindow::setVisible( sal_Bool bSet )
throw (uno::RuntimeException, std::exception)
{
+ if( bSet && !m_bVisible )
+ update();
m_bVisible = bSet;
}