diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-16 19:50:52 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-16 19:53:34 +0200 |
commit | 9199616e9d6bd04e60a5135df3b2ba7113a5f436 (patch) | |
tree | 68854d85f2694044f1ae505311894f8aa536f8b1 /slideshow | |
parent | 224002ee63b043404ecb3b594e6d9dddd02e5cd7 (diff) |
slideshow/glTF: make sure parent window does not cover the OpenGL window
Change-Id: I0da3978cefeb3d145f7411cc1c83a87d981cac62
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/viewmediashape.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index ab972353b3a5..f91be0be3c55 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -476,6 +476,7 @@ namespace slideshow mpEventHandlerParent.reset(new Window(pWindow, WB_NOBORDER|WB_NODIALOGCONTROL)); mpEventHandlerParent->SetPosSizePixel( Point( aAWTRect.X, aAWTRect.Y ), Size( aAWTRect.Width, aAWTRect.Height ) ); + mpEventHandlerParent->EnablePaint(false); mpEventHandlerParent->Show(); SystemWindowData aWinData = OpenGLContext::generateWinData(mpEventHandlerParent.get()); mpMediaWindow.reset(new SystemChildWindow(mpEventHandlerParent.get(), 0, &aWinData)); |