[vlc-devel] [PATCH] ActiveX: "design mode" returned
Sergey Radionov
rsatom at gmail.com
Thu Feb 16 08:35:07 CET 2012
---
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 )
{
--
1.7.7.1.msysgit.0
More information about the vlc-devel
mailing list