Browse Source

Do not put plugin UIs on top in Windows; Fix window type

Fixes #1116

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
423784089b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/utils/CarlaPluginUI.cpp

+ 2
- 2
source/utils/CarlaPluginUI.cpp View File

@@ -750,10 +750,10 @@ public:
// winFlags |= WS_SIZEBOX;
}

fWindow = CreateWindowEx(WS_EX_TOPMOST,
fWindow = CreateWindowEx(WS_EX_TOOLWINDOW,
classNameBuf, "Carla Plugin UI", winFlags,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
nullptr, nullptr, hInstance, nullptr);
(HWND)parentId, nullptr, hInstance, nullptr);

if (fWindow == nullptr) {
const DWORD errorCode = ::GetLastError();


Loading…
Cancel
Save