[vlc-commits] ActiveX: "design mode" returned
Sergey Radionov
git at videolan.org
Thu Feb 16 17:38:26 CET 2012
npapi-vlc | branch: master | Sergey Radionov <rsatom at gmail.com> | Thu Feb 16 14:35:07 2012 +0700| [52a881518d1ef68bb52d600a71816408c8b1c519] | committer: Jean-Baptiste Kempf
ActiveX: "design mode" returned
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=52a881518d1ef68bb52d600a71816408c8b1c519
---
activex/plugin.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/activex/plugin.cpp b/activex/plugin.cpp
index e055cbf..05922b2 100644
--- a/activex/plugin.cpp
+++ b/activex/plugin.cpp
@@ -740,7 +740,9 @@ HRESULT VLCPlugin::onActivateInPlace(LPMSG, HWND hwndParent, LPCRECT lprcPosRect
HRGN clipRgn = CreateRectRgnIndirect(&clipRect);
SetWindowRgn(_inplacewnd, clipRgn, TRUE);
- _WindowsManager.CreateWindows(this->getInPlaceWindow());
+ if( isUserMode() ) {
+ _WindowsManager.CreateWindows(this->getInPlaceWindow());
+ }
if( _b_usermode )
{
More information about the vlc-commits
mailing list